/* Hjólhýsaleiga - útlit 4 "Vinalegt"
   Tveir litir: kórall/terracotta (aðgerðir) + mildur himinblár (stuðningur).
   Hornaregla: spjöld 20px, innri fletir 14px, hnappar og flipar fullkomlega rúnnuð (pilla). */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --ink: #1f2a37;
  --ink-2: #435061;
  --muted: #5b6776;
  --line: #e4e9ef;
  --line-strong: #cfd7e0;

  --coral: #c93f27;
  --coral-hover: #b2351f;
  --coral-soft: #fdeee9;
  --coral-ink: #a4301b;

  --sky: #1f6fa3;
  --sky-hover: #195c88;
  --sky-soft: #e7f2fa;
  --sky-ink: #16597f;

  --ok: #17734f;
  --ok-soft: #e2f4ea;
  --warn: #7f5200;
  --warn-soft: #fff1d1;

  --r-card: 20px;
  --r-in: 14px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(31, 42, 55, 0.05), 0 6px 18px -6px rgba(31, 42, 55, 0.1);
  --sh-2: 0 2px 4px rgba(31, 42, 55, 0.05), 0 18px 40px -14px rgba(31, 42, 55, 0.22);
  --sh-btn: 0 8px 18px -8px rgba(201, 63, 39, 0.65);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131920;
    --bg-soft: #19212a;
    --surface: #1b242e;
    --ink: #eef2f6;
    --ink-2: #c5cdd7;
    --muted: #9ba7b5;
    --line: #2a3541;
    --line-strong: #3a4756;
    --coral-soft: #3a211d;
    --coral-ink: #ff9c88;
    --sky: #2a78ad;
    --sky-hover: #3487bf;
    --sky-soft: #172f40;
    --sky-ink: #8fc9ef;
    --ok: #6fd3a2;
    --ok-soft: #14301f;
    --warn: #f0c46a;
    --warn-soft: #382c10;
    --sh-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px -6px rgba(0, 0, 0, 0.45);
    --sh-2: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

/* ---------- grunnur ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.45rem); letter-spacing: -0.025em; line-height: 1.1; font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
small { font-size: 0.875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 800; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.section { padding-block: clamp(44px, 7vw, 92px); }
.section-soft { background: var(--bg-soft); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.tiny { font-size: 0.875rem; color: var(--muted); }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }

.ic { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.fill { fill: currentColor; stroke: none; }
.ic.g { stroke: none; width: 20px; height: 20px; }
.ic.lg { width: 1.6em; height: 1.6em; }
.ic.xl { width: 2em; height: 2em; }
.star { color: #c97a00; }
.on-dark .star { color: #ffbe4a; }

/* ---------- haus ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.28rem; letter-spacing: -0.02em; color: var(--ink); }
.brand svg { width: 40px; height: 40px; }
.brand b { color: var(--coral-ink); font-weight: 900; }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: 0.97rem; color: var(--ink-2); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.nav a[aria-current="page"] { background: var(--coral-soft); color: var(--coral-ink); font-weight: 800; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--bg-soft); color: var(--ink); } .nav a[aria-current="page"]:hover { background: var(--coral-soft); color: var(--coral-ink); } }
.head-actions { display: flex; align-items: center; gap: 8px; }
.g-btn .g-t { display: none; }
.g-btn { padding: 0 12px; }
.nav-toggle { width: 46px; height: 46px; border-radius: var(--r-pill); border: 2px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--ease); }
.nav-toggle:active { transform: scale(0.95); }
@media (max-width: 1099px) {
  .nav.open { display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; top: var(--head-h); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); padding: 12px 20px 18px; animation: drop 220ms var(--ease); }
  .nav.open a { min-height: 52px; font-size: 1.05rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) { .g-btn .g-t { display: inline; } .g-btn { padding: 0 18px; } }
@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav-toggle { display: none; }
}

/* ---------- hnappar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 2px solid transparent; font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--sh-btn); }
.btn-soft { background: var(--coral-soft); color: var(--coral-ink); }
.btn-sky { background: var(--sky); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok { color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--coral-hover); transform: translateY(-1px); }
  .btn-soft:hover { background: color-mix(in srgb, var(--coral-soft) 80%, var(--coral)); }
  .btn-sky:hover { background: var(--sky-hover); transform: translateY(-1px); }
  .btn-ghost:hover { border-color: var(--ink-2); }
}
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-block { display: flex; width: 100%; }
@media (max-width: 479px) { .btn-block, .btn-wrap { white-space: normal; text-align: center; } }
.btn-icon { width: 46px; min-height: 46px; padding: 0; }
.link { color: var(--sky-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- pillur og merki ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--r-pill); font-weight: 800; font-size: 0.82rem; line-height: 1.25; white-space: nowrap; }
.pill .ic { width: 1.05em; height: 1.05em; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-sky { background: var(--sky-soft); color: var(--sky-ink); }
.pill-coral { background: var(--coral-soft); color: var(--coral-ink); }
.pill-mute { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--sky-soft); color: var(--sky-ink); font-weight: 800; font-size: 0.88rem; }

.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 900; font-size: 1rem; color: var(--sky-ink); background: var(--sky-soft); flex: none; }
.avatar.coral { background: var(--coral-soft); color: var(--coral-ink); }
.avatar.lg { width: 60px; height: 60px; font-size: 1.3rem; }
.avatar.sm { width: 36px; height: 36px; font-size: 0.88rem; }

/* ---------- spjöld og form ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: 22px; }
@media (min-width: 768px) { .card { padding: 28px; } }
.card-flat { box-shadow: none; }
.card-soft { background: var(--bg-soft); box-shadow: none; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 1.28rem; }
.ico-badge { width: 48px; height: 48px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--coral-soft); color: var(--coral-ink); flex: none; }
.ico-badge.sky { background: var(--sky-soft); color: var(--sky-ink); }
.ico-badge.ok { background: var(--ok-soft); color: var(--ok); }
.ico-badge.lg { width: 60px; height: 60px; border-radius: 20px; }
.ico-badge.lg .ic { width: 28px; height: 28px; }

.field { display: block; min-width: 0; }
.field > .lbl { display: block; font-weight: 800; font-size: 0.93rem; margin-bottom: 6px; color: var(--ink); }
.field > .hint { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 6px; font-weight: 500; }
.input, select.input, textarea.input { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--surface); color: var(--ink); border: 2px solid var(--line-strong); border-radius: var(--r-in); font-weight: 600; font-size: 1rem; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); appearance: none; -webkit-appearance: none; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6776' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
textarea.input { min-height: 104px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--muted); opacity: 1; font-weight: 500; }
.input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 22%, transparent); }
.input-wrap { position: relative; }
.input-wrap > .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.input-wrap > .input { padding-left: 46px; }
.input-wrap > .ic.r { left: auto; right: 14px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }

.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-weight: 700; line-height: 1.4; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 28px; height: 28px; margin: 0; border: 2px solid var(--line-strong); border-radius: 9px; background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease); }
.check input::after { content: ""; width: 14px; height: 8px; border-left: 3.5px solid #fff; border-bottom: 3.5px solid #fff; rotate: -45deg; translate: 0 -2px; scale: 0; transition: scale 160ms var(--ease); }
.check input:checked { background: var(--coral); border-color: var(--coral); }
.check input:checked::after { scale: 1; }
.check input:active { transform: scale(0.92); }
.check input:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.check .sub { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }

/* ---------- forsíða: hetja ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-copy { animation: rise 560ms var(--ease) both; }
.hero-copy h1 em { font-style: normal; color: var(--coral); }
.hero-copy .lead { margin: 18px 0 0; }
.hero-media { position: relative; animation: rise 640ms 80ms var(--ease) both; }
.hero-media .big { aspect-ratio: 5 / 4; width: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--sh-2); }
.hero-media .small { position: absolute; left: -14px; bottom: -22px; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 6px solid var(--bg); box-shadow: var(--sh-2); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-copy, .hero-media { animation: none; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-media .big { aspect-ratio: 6 / 5; }
}
.search { position: relative; z-index: 2; margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--sh-2); padding: 16px; display: grid; gap: 12px; }
@media (min-width: 960px) { .search { margin-top: 36px; } }
.search .field > .lbl { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--muted); font-size: 0.85rem; }
.search .field > .lbl .ic { color: var(--coral-ink); }
.search .input { border-color: transparent; background: var(--bg-soft); }
.search .input:focus { background: var(--surface); border-color: var(--sky); }
@media (min-width: 640px) { .search { grid-template-columns: 1fr 1fr; } .search .field.wide { grid-column: 1 / -1; } .search .btn { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .search { grid-template-columns: 1.5fr 1fr 1fr 0.8fr auto; align-items: end; padding: 14px 14px 14px 20px; border-radius: var(--r-pill); gap: 14px; } .search .field.wide { grid-column: auto; } .search .btn { grid-column: auto; } .search .input { background: transparent; padding-inline: 2px; min-height: 46px; border-radius: 10px; } .search .input:focus { background: var(--bg-soft); border-color: transparent; box-shadow: none; } .search select.input { padding-right: 28px; background-position: right 2px center; } }

/* ---------- flokkar og kortalisti ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 52ch; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin-inline: -2px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--r-pill); border: 2px solid var(--line-strong); background: var(--surface); font-weight: 800; font-size: 0.98rem; cursor: pointer; scroll-snap-align: start; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"], .chip.on { background: var(--coral-soft); border-color: var(--coral); color: var(--coral-ink); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink-2); } }

.cards { display: grid; gap: 28px 24px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.lcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .lcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } }
.lcard[hidden] { display: none; }
.lcard-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .lcard:hover .lcard-img img { transform: scale(1.04); } }
.fav { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.94); color: #1f2a37; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(31, 42, 55, 0.2); transition: transform 160ms var(--ease), color 160ms var(--ease); }
.fav:active { transform: scale(0.9); }
.fav[aria-pressed="true"] { color: var(--coral); }
.fav[aria-pressed="true"] .ic { fill: currentColor; }
.lcard-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.loc { display: inline-flex; align-items: center; gap: 6px; }
.loc .ic { color: var(--coral-ink); }
.rate { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 800; white-space: nowrap; }
.rate small { color: var(--muted); font-weight: 600; }
.lcard h3 { font-size: 1.14rem; line-height: 1.3; }
.lcard h3 a { text-decoration: none; }
.lcard h3 a::after { content: ""; position: absolute; inset: 0; }
.fav { z-index: 2; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 0.93rem; font-weight: 700; color: var(--ink-2); }
.specs span { display: inline-flex; align-items: center; gap: 6px; }
.specs .ic { color: var(--sky); }
.price { margin: auto 0 0; padding-top: 6px; color: var(--ink-2); font-weight: 600; }
.price strong { font-size: 1.28rem; font-weight: 900; color: var(--ink); }

/* ---------- svona virkar þetta ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 960px) { .how { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } .how-intro { position: sticky; top: calc(var(--head-h) + 28px); } }
.how-intro p { color: var(--ink-2); margin: 14px 0 26px; max-width: 40ch; }
.how-list { display: grid; gap: 16px; counter-reset: s; position: relative; }
.how-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px; background: var(--surface); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.how-item:nth-child(2) { margin-left: 0; }
@media (min-width: 960px) { .how-item:nth-child(2) { margin-left: 36px; } .how-item:nth-child(3) { margin-left: 72px; } }
.how-num { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--coral); color: #fff; box-shadow: var(--sh-btn); }
.how-item:nth-child(2) .how-num { background: var(--sky); box-shadow: none; }
.how-item:nth-child(3) .how-num { background: var(--ok); color: var(--bg); box-shadow: none; }
.how-num .ic { width: 30px; height: 30px; }
.how-item h3 { margin-bottom: 6px; font-size: 1.3rem; }
.how-item p { margin: 0; color: var(--ink-2); }
.how-item .tiny { display: block; margin-top: 10px; font-weight: 800; color: var(--sky-ink); }

/* ---------- traust (bento) ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-a { grid-column: span 4; } .b-img { grid-column: span 2; } .b-c, .b-d, .b-e { grid-column: span 2; } }
.tile { border-radius: 24px; padding: 28px; position: relative; overflow: hidden; }
.tile h3 { font-size: 1.3rem; margin: 16px 0 8px; }
.tile p { margin: 0; color: var(--ink-2); }
.tile .ico-badge { background: var(--surface); }
.b-a { background: var(--sky-soft); display: grid; gap: 20px; align-content: center; }
.b-a h3 { font-size: 1.7rem; }
.b-a .ticks { display: grid; gap: 10px; margin-top: 14px; }
.b-a .ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.b-a .ticks .ic { color: var(--sky-ink); margin-top: 3px; }
.b-img { padding: 0; min-height: 260px; }
.b-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-c { background: var(--coral-soft); }
.b-d { background: var(--bg-soft); border: 1px solid var(--line); }
.b-d .ico-badge { background: var(--sky-soft); color: var(--sky-ink); }
.b-e { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.b-e blockquote { margin: 0; font-weight: 700; font-size: 1.1rem; line-height: 1.5; }
.b-e .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-weight: 800; }
.b-e .who small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- leigusala-borði ---------- */
.band { background: var(--coral-soft); border-radius: 32px; overflow: hidden; display: grid; }
.band-copy { padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; align-content: center; }
.band-copy p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.band-copy .row { margin-top: 10px; }
.band img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
@media (min-width: 900px) { .band { grid-template-columns: 1.1fr 0.9fr; } }

/* ---------- viðbætur ---------- */
.dash-col, .bk-main, .apv, .disp, .req-list, .own-list, .svc-list, .checklist, .cc, .signbox { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.mini-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.mini-svc li { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 14px; font-weight: 800; line-height: 1.3; }
.mini-svc .ic { color: var(--sky); width: 28px; height: 28px; }
@media (max-width: 479px) { .mini-svc { grid-template-columns: 1fr; } }
.cta-note { color: var(--ink-2); font-weight: 700; font-size: 0.95rem; }

.svc b { display: flex; align-items: center; gap: 8px; }
.svc b .ic { color: var(--sky); }
.fav-btn[aria-pressed="true"] { color: var(--coral-ink); border-color: var(--coral); }
.fav-btn[aria-pressed="true"] .ic { fill: currentColor; }
.stars { display: flex; gap: 2px; }

/* ---------- fótur ---------- */
.site-foot { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 0; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h4 { font-size: 1rem; margin-bottom: 12px; }
.foot-grid ul { display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); font-weight: 600; display: inline-block; padding: 4px 0; }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: var(--coral-ink); text-decoration: underline; } }
.foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 0.92rem; }
.foot-grid p { color: var(--ink-2); max-width: 34ch; margin-top: 12px; }

/* ---------- skráningarsíða ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 18px 0 14px; font-weight: 700; font-size: 0.93rem; color: var(--muted); }
.crumbs a { color: var(--sky-ink); text-decoration: none; }
.crumbs .ic { width: 14px; height: 14px; }
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.title-row h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 22ch; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-weight: 700; color: var(--ink-2); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { color: var(--coral-ink); }
.gallery { display: grid; gap: 10px; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-card); scrollbar-width: none; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; border-radius: var(--r-card); }
@media (min-width: 900px) {
  .gallery { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; overflow: visible; height: 440px; }
  .gallery img { aspect-ratio: auto; }
  .gallery img:first-child { grid-row: span 2; }
}
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; align-items: start; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } }
.host { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.host h2 { font-size: 1.25rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--bg-soft); border-radius: 18px; padding: 16px; display: grid; gap: 4px; }
.fact .ic { color: var(--sky); width: 26px; height: 26px; margin-bottom: 4px; }
.fact b { font-size: 1.22rem; font-weight: 900; }
.fact span { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.dsec { margin-top: 40px; }
.dsec > h2 { font-size: 1.55rem; margin-bottom: 14px; }
.dsec p { color: var(--ink-2); max-width: 66ch; }
.amen { display: grid; grid-template-columns: 1fr; gap: 14px 24px; }
@media (min-width: 560px) { .amen { grid-template-columns: 1fr 1fr; } }
.amen li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.amen .ic { color: var(--sky); width: 26px; height: 26px; }
.svc-list { display: grid; gap: 12px; }
.svc { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color 160ms var(--ease), background-color 160ms var(--ease); cursor: pointer; }
.svc:has(input:checked) { border-color: var(--coral); background: var(--coral-soft); }
.svc .ico-badge { width: 46px; height: 46px; }
.svc b { display: block; font-weight: 800; }
.svc small { display: block; color: var(--muted); font-weight: 600; line-height: 1.35; }
.svc:has(input:checked) small { color: var(--ink-2); }
.svc .p { text-align: right; font-weight: 900; white-space: nowrap; }
.svc .p small { font-weight: 600; }
.svc .check { gap: 0; }
@media (max-width: 559px) { .svc { grid-template-columns: auto 1fr; } .svc .p { grid-column: 2; text-align: left; } .svc .ico-badge { display: none; } }
.score { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.score b { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.score .stars { display: flex; gap: 2px; }
.reviews { display: grid; gap: 14px; }
@media (min-width: 700px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review { background: var(--bg-soft); border-radius: 18px; padding: 20px; }
.review .who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-weight: 800; }
.review .who small { display: block; color: var(--muted); font-weight: 600; }
.review p { margin: 0; color: var(--ink-2); }

.book { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-2); padding: 24px; }
@media (min-width: 960px) { .book { position: sticky; top: calc(var(--head-h) + 20px); } }
.book-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.book-price strong { font-size: 1.7rem; font-weight: 900; }
.book-price span { color: var(--ink-2); font-weight: 700; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.dates .input { padding-inline: 12px; }
.lines { margin: 18px 0 0; display: grid; gap: 10px; }
.lines li { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ink-2); }
.lines li span:last-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.lines li.total { border-top: 2px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 1.18rem; color: var(--ink); font-weight: 900; }
.lines li.total span:last-child { font-weight: 900; }
.lines li.deposit { background: var(--sky-soft); color: var(--sky-ink); border-radius: 14px; padding: 12px 14px; font-size: 0.93rem; }
.lines li.deposit span:last-child { color: var(--sky-ink); }
.book .reassure { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.book .reassure .ic { color: var(--ok); margin-top: 2px; }
.mbar { display: none; }
@media (max-width: 959px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(31, 42, 55, 0.25); }
  .mbar b { font-size: 1.2rem; font-weight: 900; display: block; line-height: 1.2; }
  .mbar small { color: var(--muted); font-weight: 700; }
  body.has-mbar { padding-bottom: 88px; }
}

/* ---------- bókun: framvindustika ---------- */
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-head p { margin: 8px 0 0; color: var(--ink-2); }
.stepper-wrap { overflow-x: auto; margin-inline: -20px; padding: 6px 20px 14px; scrollbar-width: thin; }
@media (min-width: 768px) { .stepper-wrap { margin-inline: 0; padding-inline: 0; overflow: visible; } }
.stepper { display: grid; grid-template-columns: repeat(6, minmax(96px, 1fr)); min-width: 620px; position: relative; }
.stepper li { display: grid; justify-items: center; gap: 8px; text-align: center; position: relative; padding-inline: 4px; }
.stepper li::before { content: ""; position: absolute; top: 24px; left: -50%; width: 100%; height: 4px; border-radius: 4px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before { background: var(--coral); }
.st-dot { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 3px solid var(--line-strong); color: var(--muted); }
.stepper li.done .st-dot { background: var(--coral); border-color: var(--coral); color: #fff; }
.stepper li.now .st-dot { background: var(--coral-soft); border-color: var(--coral); color: var(--coral-ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--coral) 18%, transparent); }
.st-t { font-weight: 800; font-size: 0.97rem; line-height: 1.2; }
.st-s { font-size: 0.82rem; color: var(--muted); font-weight: 700; line-height: 1.25; }
.stepper li.now .st-t { color: var(--coral-ink); }
.now-banner { display: flex; align-items: center; gap: 14px; background: var(--coral-soft); color: var(--coral-ink); border-radius: var(--r-card); padding: 16px 20px; font-weight: 800; margin: 14px 0 0; }
.now-banner .ic { width: 28px; height: 28px; }
.now-banner span small { display: block; font-weight: 600; color: var(--ink-2); font-size: 0.93rem; }

.bk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
@media (min-width: 1000px) { .bk { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; } }
.bk-main { display: grid; gap: 22px; min-width: 0; }
.stp { position: relative; }
.stp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.stp-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--coral); color: #fff; flex: none; }
.stp-n.done { background: var(--ok); color: var(--bg); }
.stp-n.later { background: var(--bg-soft); color: var(--muted); border: 2px solid var(--line-strong); }
.stp-head h2 { font-size: 1.35rem; flex: 1 1 auto; min-width: 0; }
.stp.later { border-style: dashed; box-shadow: none; }
.stp.current { border: 2px solid var(--coral); box-shadow: 0 0 0 6px color-mix(in srgb, var(--coral) 12%, transparent), var(--sh-1); }
.mini { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-2); font-weight: 600; }
.mini .ic { color: var(--ok); }

.contract { border: 2px solid var(--line); border-radius: 16px; background: var(--bg-soft); max-height: 320px; overflow-y: auto; padding: 22px; font-size: 0.98rem; }
.contract h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.contract h3:first-child { margin-top: 0; }
.contract p, .contract li { color: var(--ink-2); margin: 0 0 8px; }
.contract ol { list-style: decimal; padding-left: 20px; }
.parties { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 640px) { .parties { grid-template-columns: 1fr 1fr; } }
.party { border: 2px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 10px; background: var(--surface); }
.party .who { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.party .who small { display: block; color: var(--muted); font-weight: 600; }
.party.signed { border-color: var(--ok); background: var(--ok-soft); }
.signbox { margin-top: 6px; display: grid; gap: 16px; }
.sig-preview { font-family: "Nunito", cursive; font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--sky-ink); border-bottom: 2px dashed var(--line-strong); padding: 6px 2px; min-height: 48px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--sky-soft); color: var(--sky-ink); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 0.93rem; }
.note .ic { margin-top: 2px; }

.cc { display: grid; gap: 16px; }
.cc-preview { border-radius: 20px; padding: 20px 22px; color: #fff; background: linear-gradient(135deg, #1f6fa3, #2b88c4 60%, #5aa8d6); min-height: 140px; display: grid; align-content: space-between; gap: 18px; box-shadow: var(--sh-2); }
.cc-preview .num { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.12em; }
.cc-preview .row-between { font-weight: 700; font-size: 0.93rem; }
.cc-preview .chip-ico { width: 40px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f6d98a, #d9a93f); }
.pay-sum { background: var(--bg-soft); border-radius: 16px; padding: 16px 18px; }
.secure { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.secure .ic { color: var(--ok); }

.tabs { display: inline-flex; padding: 5px; gap: 4px; background: var(--bg-soft); border-radius: var(--r-pill); border: 1px solid var(--line); margin-bottom: 18px; }
.tab { min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 0; background: transparent; font-weight: 800; color: var(--ink-2); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--coral-ink); box-shadow: var(--sh-1); }
.tab-panel[hidden] { display: none; }
.checklist { display: grid; gap: 10px; margin-bottom: 20px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist label { background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
@media (min-width: 640px) { .photos { grid-template-columns: repeat(5, 1fr); } }
.photos img, .photos .add { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 16px; }
.photos .add { border: 2px dashed var(--line-strong); display: grid; place-items: center; align-content: center; gap: 4px; color: var(--sky-ink); font-weight: 800; font-size: 0.85rem; text-align: center; background: var(--surface); cursor: pointer; padding: 6px; }
.photos .add .ic { width: 28px; height: 28px; }

.thread { display: grid; gap: 12px; margin-bottom: 18px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-weight: 600; line-height: 1.45; }
.msg small { display: block; margin-top: 4px; font-weight: 700; opacity: 0.75; font-size: 0.78rem; }
.msg.them { background: var(--bg-soft); border: 1px solid var(--line); border-bottom-left-radius: 6px; justify-self: start; }
.msg.me { background: var(--coral); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.msg.me small { opacity: 0.9; }
.compose { display: flex; gap: 10px; align-items: center; }
.compose .input { flex: 1; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-2); overflow: hidden; }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--head-h) + 20px); } }
.summary img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.summary-b { padding: 22px; display: grid; gap: 14px; }
.summary h2 { font-size: 1.25rem; }
.kv { display: grid; gap: 10px; }
.kv > div { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.kv .ic { color: var(--coral-ink); margin-top: 3px; }
.kv small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- stjórnborð ---------- */
.dash-head { padding: 30px 0 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: 20px; display: grid; gap: 4px; }
.stat .ico-badge { margin-bottom: 8px; width: 44px; height: 44px; }
.stat b { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.stat span { color: var(--muted); font-weight: 700; font-size: 0.93rem; }
.stat .delta { color: var(--ok); font-weight: 800; font-size: 0.88rem; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
@media (min-width: 1000px) { .dash { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; } }
.dash-col { display: grid; gap: 24px; min-width: 0; }
.req-list, .own-list { display: grid; gap: 14px; }
.req { display: grid; gap: 14px; padding: 18px; border: 2px solid var(--line); border-radius: 18px; }
.req-top { display: flex; gap: 14px; align-items: center; }
.req-top b { display: block; font-weight: 800; }
.req-top small { display: block; color: var(--muted); font-weight: 600; }
.req-info { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.req-info span { display: inline-flex; align-items: center; gap: 6px; }
.req-info .ic { color: var(--sky); }
.req-act { display: flex; gap: 10px; flex-wrap: wrap; }
.own { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; border: 2px solid var(--line); border-radius: 18px; }
.own img { width: 96px; height: 80px; object-fit: cover; border-radius: 14px; }
.own b { display: block; font-weight: 800; line-height: 1.3; }
.own small { display: block; color: var(--muted); font-weight: 700; }
.own .own-act { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .own { grid-template-columns: 110px 1fr auto; } .own img { width: 110px; height: 84px; } .own .own-act { grid-column: auto; flex-direction: column; align-items: flex-end; } }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 190px; margin-top: 8px; }
.bar { display: grid; gap: 8px; justify-items: center; align-content: end; height: 100%; font-weight: 800; font-size: 0.8rem; color: var(--muted); text-align: center; }
.bar i { display: block; width: 100%; max-width: 52px; border-radius: 12px 12px 6px 6px; background: var(--sky); min-height: 6px; }
.bar.hi i { background: var(--coral); }
.bar em { font-style: normal; color: var(--ink); font-size: 0.78rem; line-height: 1.15; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cal-head h3 { font-size: 1.15rem; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dow { text-align: center; font-weight: 800; font-size: 0.8rem; color: var(--muted); padding-bottom: 4px; }
.cal .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; font-weight: 800; font-size: 0.95rem; background: var(--bg-soft); color: var(--ink); }
.cal .d.booked { background: var(--coral); color: #fff; }
.cal .d.closed { background: repeating-linear-gradient(135deg, var(--bg-soft) 0 6px, var(--line) 6px 9px); color: var(--muted); }
.cal .d.req { background: var(--sky-soft); color: var(--sky-ink); box-shadow: inset 0 0 0 2px var(--sky); }
.cal .d.empty { background: transparent; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-weight: 700; font-size: 0.88rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 18px; border-radius: 6px; display: inline-block; background: var(--bg-soft); border: 1px solid var(--line-strong); }
.legend .l-b { background: var(--coral); border-color: var(--coral); }
.legend .l-c { background: repeating-linear-gradient(135deg, var(--bg-soft) 0 4px, var(--line-strong) 4px 6px); }
.legend .l-r { background: var(--sky-soft); border-color: var(--sky); }

/* ---------- stjórnandi ---------- */
.subnav { position: sticky; top: var(--head-h); z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); text-decoration: none; font-weight: 800; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .subnav a:hover { background: var(--coral-soft); color: var(--coral-ink); } }
.subnav .count { background: var(--coral); color: #fff; border-radius: var(--r-pill); font-size: 0.78rem; padding: 1px 8px; font-weight: 900; }
.apv { display: grid; gap: 16px; }
.apv-card { display: grid; gap: 18px; padding: 16px; border: 2px solid var(--line); border-radius: 22px; background: var(--surface); }
.apv-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.apv-card h3 { font-size: 1.2rem; }
.apv-body { display: grid; gap: 12px; align-content: start; }
.apv-checks { display: grid; gap: 8px; }
.apv-checks li { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.apv-checks .ic { color: var(--ok); margin-top: 3px; }
.apv-checks .no .ic { color: var(--warn); }
@media (min-width: 820px) { .apv-card { grid-template-columns: 260px 1fr; align-items: center; } .apv-card img { height: 100%; min-height: 190px; aspect-ratio: auto; } }
.disp { display: grid; gap: 14px; }
.disp-card { border: 2px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 14px; background: var(--surface); }
.disp-card .cols { display: grid; gap: 12px; }
@media (min-width: 760px) { .disp-card .cols { grid-template-columns: 1fr 1fr; } }
.side { background: var(--bg-soft); border-radius: 16px; padding: 14px 16px; }
.side b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 800; }
.side p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 0.85rem; font-weight: 800; color: var(--muted); padding: 0 14px 12px; }
.tbl td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; font-weight: 600; }
.tbl .u { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.tbl .u small { display: block; color: var(--muted); font-weight: 600; }
.tbl select.input { min-height: 44px; padding-block: 8px; min-width: 160px; }
@media (max-width: 799px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border: 2px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
  .tbl td { border: 0; padding: 6px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .tbl td[data-l]::before { content: attr(data-l); font-weight: 800; color: var(--muted); font-size: 0.88rem; flex: none; }
  .tbl td.first { display: block; }
}
.set-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 900px) { .set-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.pct { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.pct .unit { min-height: 52px; display: inline-grid; place-items: center; padding: 0 18px; background: var(--bg-soft); border-radius: var(--r-in); font-weight: 900; }
.ex { background: var(--coral-soft); border-radius: 16px; padding: 16px 18px; color: var(--ink); font-weight: 700; }
.ex small { display: block; font-weight: 600; color: var(--ink-2); margin-top: 4px; }

/* ---------- farsímaapp ---------- */
.app-top { padding: 40px 0 8px; }
.app-top p { color: var(--ink-2); max-width: 60ch; margin: 12px 0 0; }
.stage { --s: 1; display: flex; gap: 28px; padding: 34px 24px 60px; overflow-x: auto; scroll-snap-type: x proximity; justify-content: flex-start; }
@media (min-width: 1440px) { .stage { --s: 0.81; justify-content: center; gap: 20px; padding-inline: 16px; overflow: visible; } }
.phone-wrap { flex: none; width: calc(395px * var(--s)); height: calc(832px * var(--s)); position: relative; scroll-snap-align: center; }
.phone-cap { position: absolute; left: 0; right: 0; top: calc(100% + 10px); text-align: center; font-weight: 800; color: var(--ink-2); font-size: 1rem; }
.stage { padding-bottom: 80px; }
.phone { position: absolute; left: calc(10px * var(--s)); top: calc(10px * var(--s)); width: 375px; height: 812px; border-radius: 46px; background: var(--bg); box-shadow: 0 0 0 10px #1b2430, 0 0 0 11px #3a4655, 0 36px 60px -24px rgba(31, 42, 55, 0.5); transform: scale(var(--s)); transform-origin: 0 0; overflow: hidden; display: flex; flex-direction: column; font-size: 16px; line-height: 1.45; }
.sbar { height: 48px; flex: none; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 30px 6px; font-weight: 800; font-size: 0.95rem; }
.sbar .sys { display: flex; gap: 6px; align-items: center; }
.sbar .sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sbar .sig i { width: 3px; background: var(--ink); border-radius: 1px; display: block; }
.sbar .bat { width: 25px; height: 12px; border: 2px solid var(--ink); border-radius: 4px; position: relative; padding: 1px; }
.sbar .bat::before { content: ""; display: block; height: 100%; width: 72%; background: var(--ink); border-radius: 1px; }
.sbody { flex: 1; overflow-y: auto; padding: 8px 20px 20px; scrollbar-width: none; min-height: 0; }
.sbody::-webkit-scrollbar { display: none; }
.tabbar { flex: none; height: 86px; border-top: 1px solid var(--line); background: var(--surface); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 26px; position: relative; }
.tabbar::after { content: ""; position: absolute; bottom: 8px; left: 50%; translate: -50% 0; width: 136px; height: 5px; border-radius: 3px; background: var(--ink); opacity: 0.85; }
.tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; text-decoration: none; font-weight: 800; font-size: 0.75rem; color: var(--muted); position: relative; min-height: 48px; }
.tabbar a .ic { width: 26px; height: 26px; }
.tabbar a.on { color: var(--coral-ink); }
.tabbar .badge { position: absolute; top: 0; left: calc(50% + 6px); background: var(--coral); color: #fff; font-size: 0.7rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
.ph-h1 { font-size: 1.75rem; line-height: 1.15; margin: 6px 0 14px; }
.ph-search { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--sh-2); border: 1px solid var(--line); font-weight: 700; }
.ph-search .ic { color: var(--coral-ink); }
.ph-search small { display: block; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.ph-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 16px -20px 14px; padding: 0 20px; }
.ph-chips .chip { min-height: 40px; padding: 0 14px; font-size: 0.9rem; }
.pcard { display: block; text-decoration: none; margin-bottom: 18px; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pcard-b { padding: 12px 16px 14px; display: grid; gap: 2px; }
.pcard-b .lcard-top { font-size: 0.85rem; }
.pcard-b b { font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.pcard-b .pr { font-weight: 600; color: var(--ink-2); font-size: 0.95rem; }
.pcard-b .pr strong { font-weight: 900; color: var(--ink); font-size: 1.1rem; }
.ph-hero { position: relative; margin: 0 -20px; }
.ph-hero img { width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; border-radius: 0 0 28px 28px; }
.ph-hero .ph-btn { position: absolute; top: 12px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: #1f2a37; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(31, 42, 55, 0.25); }
.ph-hero .ph-btn.l { left: 20px; }
.ph-hero .ph-btn.r { right: 20px; }
.ph-hero .ph-btn.r2 { right: 76px; }
.ph-title { font-size: 1.45rem; line-height: 1.2; margin: 16px 0 6px; }
.ph-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.ph-facts div { background: var(--bg-soft); border-radius: 16px; padding: 10px 4px; text-align: center; display: grid; gap: 2px; justify-items: center; }
.ph-facts .ic { color: var(--sky); }
.ph-facts b { font-weight: 900; font-size: 0.95rem; line-height: 1.2; }
.ph-facts span { font-size: 0.72rem; color: var(--muted); font-weight: 700; }
.ph-sec { font-size: 1.1rem; margin: 18px 0 10px; }
.ph-svc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; margin-bottom: 8px; font-weight: 800; }
.ph-svc.on { border-color: var(--coral); background: var(--coral-soft); }
.ph-svc small { display: block; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.ph-svc .p { margin-left: auto; font-weight: 900; font-size: 0.92rem; white-space: nowrap; }
.ph-cta { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 30px; border-top: 1px solid var(--line); background: var(--surface); }
.ph-cta b { display: block; font-size: 1.25rem; font-weight: 900; line-height: 1.15; }
.ph-cta small { color: var(--muted); font-weight: 700; }
.ph-prog { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 6px; font-weight: 800; }
.ph-dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 18px; }
.ph-dots i { height: 8px; border-radius: 4px; background: var(--line-strong); }
.ph-dots i.d { background: var(--coral); }
.ph-card { border: 2px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 14px; background: var(--surface); }
.ph-card.cur { border-color: var(--coral); }
.ph-card h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.ph-card .input { min-height: 50px; }
.ph-lines { display: grid; gap: 6px; font-weight: 600; color: var(--ink-2); font-size: 0.93rem; }
.ph-lines div { display: flex; justify-content: space-between; gap: 10px; }
.ph-lines b { color: var(--ink); font-weight: 800; }
.ph-contract { background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 12px; font-weight: 600; }
.ph-contract b { color: var(--ink); }
.ph-prof { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; }
.ph-prof h1 { font-size: 1.4rem; line-height: 1.2; }
.ph-prof p { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.ph-next { background: var(--sky-soft); border-radius: 20px; padding: 16px; display: grid; gap: 10px; margin-bottom: 16px; }
.ph-next b { font-weight: 800; }
.ph-menu { display: grid; gap: 4px; }
.ph-menu a { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 6px; text-decoration: none; font-weight: 800; border-bottom: 1px solid var(--line); }
.ph-menu a:last-child { border-bottom: 0; }
.ph-menu .ic { color: var(--sky); width: 26px; height: 26px; }
.ph-menu .end { margin-left: auto; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ph-menu .end .ic { width: 20px; height: 20px; color: var(--muted); }
.ph-menu .badge { background: var(--coral); color: #fff; border-radius: 12px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: 0.82rem; padding: 0 7px; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
