/* Planið – planið.is */
:root {
  --paper: #ffffff;
  --board: #f1f2ee;
  --ink: #17191c;
  --ink-2: #3b4047;
  --muted: #5f6770;
  --line: #e1e3de;
  --signal: #ff6a13;
  --signal-ink: #c2410c;
  --c: #17191c;      /* litur fyrirtækisins í dæmunum */
  --c2: #ff6a13;
  --head: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 20; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 650; line-height: 1.06; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(var(--gutter), 16px, env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), 16px, env(safe-area-inset-right, 0px)); }
section { scroll-margin-top: 80px; }

/* Hnappar */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.btn:hover { background: #2b2f34; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--board); }

/* Haus */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.32em; font-size: 30px; text-decoration: none; color: var(--ink); }
.wm { height: 1em; width: auto; flex: none; fill: currentColor; }
.wm .acc { fill: var(--signal); }
.top-nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.top-nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.top-nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Forsíða */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
h1 { font-size: clamp(42px, 5.6vw, 76px); letter-spacing: -0.045em; }
.lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34em; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-play { font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.link-play span { font-size: 12px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; padding-left: 2px; }
.link-play:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-art { display: grid; justify-items: center; gap: 24px; }

.ph-logo { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; background: var(--c2); color: var(--c); font-family: var(--head); font-weight: 700; font-size: 13px; transition: background .35s, color .35s; }
.phone { width: 230px; border-radius: 34px; background: #121417; padding: 9px; box-shadow: 0 30px 60px -24px rgba(23, 25, 28, 0.5); }
.ph { border-radius: 26px; overflow: hidden; background: #f3f4f6; aspect-ratio: 9 / 16; font-size: 12px; }
.ph-head { background: var(--c); color: #fff; padding: 30px 14px 14px; border-bottom: 4px solid var(--c2); display: grid; gap: 2px; transition: background .35s, border-color .35s; }
.ph-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12px; margin-bottom: 10px; }
.ph-head strong { font-family: var(--head); font-size: 18px; letter-spacing: -0.02em; line-height: 1.15; }
.ph-head small { font-size: 11px; opacity: .75; }
.ph-body { padding: 12px; display: grid; gap: 7px; }
.ph-label { font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.ph-card { background: #fff; border-radius: 8px; padding: 9px 10px; border-left: 3px solid var(--c); transition: border-color .35s; }
.ph-card.alt { border-left-color: var(--c2); }
.ph-card b { display: block; font-size: 12.5px; }
.ph-card span { color: var(--muted); font-size: 11.5px; }
.hero-phone { width: 270px; }
.hero-phone .ph { font-size: 13px; }

.swatches { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.swatches span { margin-right: 6px; }
.sw { width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer; border: 3px solid #fff; background: linear-gradient(135deg, var(--a) 0 58%, var(--b) 58% 100%); box-shadow: 0 0 0 1px var(--line); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }

/* Yfirlýsing */
.statement { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.statement p { font-family: var(--head); font-weight: 450; font-size: clamp(24px, 3.1vw, 38px); line-height: 1.3; letter-spacing: -0.015em; max-width: 30em; }

/* Eiginleikar */
.features { padding: clamp(64px, 9vw, 120px) 0; }
.features-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
.features h2 { position: sticky; top: 110px; }
.feature-list { margin: 0; }
.feature-list div { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 8px 32px; }
.feature-list div:last-child { border-bottom: 1px solid var(--line); }
.feature-list dt { font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.feature-list dd { margin: 0; color: var(--ink-2); }

/* Sérhannað */
.custom { background: var(--board); padding: clamp(64px, 9vw, 120px) 0; }
.custom-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(32px, 6vw, 80px); align-items: end; }
.custom-head p { color: var(--ink-2); max-width: 32em; }
.trio { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.trio figure { margin: 0; display: grid; justify-items: center; gap: 22px; }
.trio .phone { width: min(240px, 100%); }
.trio figure:nth-child(2) { transform: translateY(28px); }
.trio figcaption { max-width: 17em; text-align: center; font-size: 16px; color: var(--ink-2); }
.trio figcaption b { display: block; color: var(--ink); font-size: 17px; }

/* Myndband */
.video { padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 72px); }
.video-in { max-width: 1060px; }
.video-frame { border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px -36px rgba(23, 25, 28, 0.5); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.video-note { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Skref */
.steps-sec { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s); font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--signal-ink); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 22px; letter-spacing: -0.015em; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.more-video { margin-top: 40px; }
.more-video summary { cursor: pointer; font-weight: 600; display: inline-block; text-decoration: underline; text-underline-offset: 4px; }
.video-frame.small { margin-top: 20px; max-width: 760px; }

/* Persónuvernd */
.privacy { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 112px) 0; }
.privacy-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 80px); }
.privacy p { font-size: 20px; color: var(--ink-2); max-width: 32em; }
.privacy ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.privacy li { padding: 14px 0 14px 26px; border-top: 1px solid var(--line); position: relative; }
.privacy li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }

/* Spurningar */
.faq { background: var(--board); padding: clamp(64px, 9vw, 112px) 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 80px); }
.faq-list details { border-top: 1px solid #d3d6d0; }
.faq-list details:last-child { border-bottom: 1px solid #d3d6d0; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 19px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 400; line-height: 1.2; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* Samband */
.contact { padding: clamp(80px, 11vw, 144px) 0; }
.contact-in { max-width: 900px; }
.contact h2 { font-size: clamp(38px, 5.6vw, 72px); }
.contact p { margin-top: 20px; font-size: 20px; color: var(--ink-2); max-width: 32em; }
.email-box { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.email { font-family: var(--head); font-weight: 600; font-size: clamp(24px, 3.4vw, 40px); letter-spacing: -0.02em; border-bottom: 4px solid var(--signal); padding-bottom: 2px; overflow-wrap: anywhere; }
.email.empty { color: var(--muted); border-bottom-style: dashed; border-bottom-color: var(--line); }
.copy-msg { font-size: 15px; color: var(--muted); }

/* Fótur */
.foot { background: var(--ink); color: #b7bdc3; padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { color: #fff; font-size: 22px; }
.foot .copy { margin-left: auto; }

/* Spjaldtölva */
@media (max-width: 980px) {
  .hero-in, .features-in, .custom-head, .privacy-in, .faq-in { grid-template-columns: 1fr; }
  .features h2 { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
/* Sími */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .top-nav a:not(.btn) { display: none; }
  .hero-phone { width: 240px; }
  .swatches { flex-wrap: wrap; justify-content: center; }
  .feature-list div { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; gap: 48px; }
  .trio figure:nth-child(2) { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .privacy ul { grid-template-columns: 1fr; }
  .foot .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Ólík útlit á dæmasímunum ---------- */
.ph.t-ours { --c: #17191c; --c2: #ff6a13; }
.ph.t-ours .ph-head { border-radius: 0 0 18px 18px; border-bottom: 0; box-shadow: inset 0 -4px 0 var(--c2); }
.ph.t-ours .ph-card { box-shadow: 0 6px 16px -10px rgba(23, 25, 28, .35); }

/* Verkstæði: dökkt og iðnaðarlegt */
.ph.t-verk { --c: #ffd400; --c2: #f97316; background: #0f1113; color: #f1f1f1; font-family: 'IBM Plex Mono', monospace; }
.ph.t-verk .ph-head { background: #17191c; border-bottom: 0; position: relative; padding-bottom: 22px; }
.ph.t-verk .ph-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(-45deg, #ffd400 0 8px, #17191c 8px 16px); }
.ph.t-verk .ph-brand { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.ph.t-verk .ph-logo { border-radius: 2px; background: #ffd400; color: #111; font-family: 'Oswald', sans-serif; }
.ph.t-verk .ph-head strong { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 600; letter-spacing: .01em; }
.ph.t-verk .ph-head small { color: #ffd400; opacity: 1; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.ph.t-verk .ph-label { color: #ffd400; text-transform: uppercase; letter-spacing: .14em; font-size: 9.5px; }
.ph.t-verk .ph-card { background: #1c1f23; border-radius: 0; border-left: 4px solid #ffd400; }
.ph.t-verk .ph-card.alt { border-left-color: #f97316; }
.ph.t-verk .ph-card b { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 500; letter-spacing: .02em; font-size: 13.5px; }
.ph.t-verk .ph-card span { color: #a3a9b0; font-size: 10.5px; }

/* Bakarí: hlýtt, kremlitað og mjúkt */
.ph.t-bak { --c: #1f5d3a; --c2: #f2b84b; background: #f8efe0; color: #3b2a1a; font-family: 'Nunito', sans-serif; }
.ph.t-bak .ph-head { border-bottom: 0; border-radius: 0 0 26px 26px; padding-bottom: 20px; }
.ph.t-bak .ph-brand { font-weight: 800; }
.ph.t-bak .ph-logo { border-radius: 50%; }
.ph.t-bak .ph-head strong { font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; letter-spacing: -.01em; }
.ph.t-bak .ph-label { color: #8a6a45; font-weight: 800; }
.ph.t-bak .ph-card { background: #fff; border-radius: 16px; border: 1.5px dashed #e3cfae; }
.ph.t-bak .ph-card.alt { background: #fbe3a8; border: 1.5px solid #f2b84b; }
.ph.t-bak .ph-card b { font-family: 'Fraunces', serif; font-weight: 600; font-size: 13.5px; }
.ph.t-bak .ph-card span { color: #7a6450; }

/* Hótel: fágað, ljóst, gylltar hárlínur */
.ph.t-hotel { --c: #4a1d4f; --c2: #c9a96e; background: #fbf9f7; color: #2a1a2c; }
.ph.t-hotel .ph-head { background: #fbf9f7; color: #2a1a2c; border-bottom: 1px solid #e4d9cc; text-align: center; justify-items: center; padding-bottom: 18px; }
.ph.t-hotel .ph-brand { flex-direction: column; gap: 6px; font-family: 'Cormorant Garamond', serif; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; font-size: 10.5px; }
.ph.t-hotel .ph-logo { width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 1px solid #c9a96e; color: #4a1d4f; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; }
.ph.t-hotel .ph-head strong { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 22px; letter-spacing: 0; }
.ph.t-hotel .ph-head small { color: #a88a55; opacity: 1; text-transform: uppercase; letter-spacing: .2em; font-size: 9.5px; }
.ph.t-hotel .ph-body { gap: 0; padding: 8px 16px; }
.ph.t-hotel .ph-label { text-align: center; text-transform: uppercase; letter-spacing: .24em; font-size: 9px; color: #a88a55; margin: 8px 0 2px; }
.ph.t-hotel .ph-card { background: transparent; border-radius: 0; border-left: 0; border-bottom: 1px solid #e4d9cc; padding: 10px 2px; }
.ph.t-hotel .ph-card b { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 16px; color: #4a1d4f; }
.ph.t-hotel .ph-card span { color: #7d6f72; }
