/* Veflausnir.is — útlit skv. hönnunarskjali */
:root {
  --bg: #f6f4f0;
  --ink: #1c1a17;
  --card: #ffffff;
  --muted: #6b665e;
  --border: #e6e1d9;
  --soft: #efece6;
  --accent: #e01e2a;
  --ok: #2e7d4f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: clip; /* ekki hidden — brýtur sticky */
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
input, textarea, button, select { font-family: inherit; }
textarea::placeholder, input::placeholder { color: #a9a49b; }
img { max-width: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.kicker {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.h-section {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.btn {
  display: inline-block;
  text-align: center;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: filter .15s ease, transform .15s ease, border-color .15s ease;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.06); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--ink); background: none; }
.btn-outline:hover { border-color: var(--accent); color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-lg:hover { transform: translateY(-2px); }

/* --- Haus --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.site-header .logo img { height: clamp(44px, 6.5vw, 68px); width: auto; display: block; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.site-nav .nav-tel { font-family: 'Space Mono', monospace; font-size: 14px; }
.site-nav .nav-contact { font-weight: 600; }
.site-nav .nav-cta { background: var(--accent); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { filter: brightness(1.06); color: #fff; }
.burger {
  margin-left: auto; display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 46px; height: 46px; align-items: center;
  background: none; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; padding: 0;
}
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 10px 24px 22px; flex-direction: column; gap: 2px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 15px 2px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu .mm-tel { font-family: 'Space Mono', monospace; font-size: 15px; color: var(--muted); font-weight: 400; border-bottom: none; }
.mobile-menu .mm-cta { margin-top: 12px; text-align: center; background: var(--accent); color: #fff; padding: 15px; border-radius: 999px; border-bottom: none; }
@media (max-width: 819.98px) {
  .site-nav { display: none; }
  .burger { display: flex; }
}

/* --- Hetja --- */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.hero .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero .copy { animation: rise .7s ease both; }
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero .sub { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 30ch; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero .trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; font-size: 14px; color: var(--muted); font-family: 'Space Mono', monospace; }

/* --- Tækjaklasi --- */
.devices { animation: rise .8s .1s ease both; }
.devices .stage { position: relative; container-type: inline-size; width: 100%; height: 0; padding-bottom: 90%; }
.dev-imac { position: absolute; left: 9%; top: 0; width: 70cqw; z-index: 1; }
.dev-imac .body { background: linear-gradient(#eceef1, #d7d9dd); border: 1px solid #c3c4c9; border-radius: 2.4cqw; padding: 1.6cqw 1.6cqw 5cqw; box-shadow: 0 30px 50px -22px rgba(0,0,0,.28); }
.dev-imac .screen { border-radius: 0.9cqw; overflow: hidden; aspect-ratio: 16/10; background: #000; }
.dev-imac .neck { width: 15cqw; height: 5cqw; margin: -0.4cqw auto 0; background: linear-gradient(#d3d5d9, #bcbec4); clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); }
.dev-imac .foot { width: 31cqw; height: 1.8cqw; margin: 0 auto; background: linear-gradient(#c7c9ce, #a7a9af); border-radius: 0 0 1.4cqw 1.4cqw; }
.dev-ipad { position: absolute; right: 1%; bottom: 12%; width: 23cqw; z-index: 2; }
.dev-ipad .body { background: linear-gradient(#e7e8eb, #d2d4d8); border: 1px solid #c3c4c9; border-radius: 2.6cqw; padding: 1cqw; box-shadow: 0 18px 30px -14px rgba(0,0,0,.32); }
.dev-ipad .screen { border-radius: 1.6cqw; overflow: hidden; aspect-ratio: 3/4; background: #000; }
.dev-mac { position: absolute; left: -1%; bottom: 0; width: 53cqw; z-index: 3; }
.dev-mac .body { background: linear-gradient(#e7e8eb, #d5d7db); border: 1px solid #c3c4c9; border-radius: 1.4cqw 1.4cqw 0 0; padding: 1cqw 1cqw 0; box-shadow: 0 16px 28px -16px rgba(0,0,0,.3); }
.dev-mac .screen { border-radius: 0.7cqw; overflow: hidden; aspect-ratio: 16/10; background: #000; }
.dev-mac .base { position: relative; width: 112%; margin-left: -6%; height: 2.6cqw; background: linear-gradient(#d8dade, #a5a7ad); border-radius: 0 0 1.6cqw 1.6cqw; }
.dev-mac .base .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 15%; height: 0.7cqw; background: #94969c; border-radius: 0 0 0.6cqw 0.6cqw; }
.dev-phone { position: absolute; right: 5%; bottom: 0; width: 12.5cqw; z-index: 4; }
.dev-phone .body { background: #111214; border-radius: 3cqw; padding: 0.55cqw; box-shadow: 0 14px 24px -10px rgba(0,0,0,.38); }
.dev-phone .screen { position: relative; border-radius: 2.4cqw; overflow: hidden; aspect-ratio: 9/19.5; background: #000; }
.dev-phone .island { position: absolute; top: 2.5%; left: 50%; transform: translateX(-50%); width: 40%; height: 4.5%; background: #111214; border-radius: 1cqw; }
.devices .shot { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }

/* --- Kaflar --- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.soft { border-top: 1px solid var(--border); background: var(--soft); }

/* Það sem þú færð */
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 5vw, 64px); }
.intro-grid .body { margin-top: 20px; font-size: 1.1rem; line-height: 1.6; color: var(--muted); max-width: 44ch; }
.features { display: grid; gap: 2px; align-content: start; }
.feature { display: flex; align-items: flex-start; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--border); }
.feature .check {
  flex: none; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.feature .txt { font-size: 1.05rem; font-weight: 500; }

/* Þjónusta */
.services-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 30px; transition: border-color .15s ease, transform .15s ease; }
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card .no { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--accent); margin-bottom: 16px; }
.service-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.service-card p { margin-top: 12px; color: var(--muted); line-height: 1.55; font-size: 1rem; }

/* Verkefni */
.projects-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.project-card {
  display: block; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease; color: inherit;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -34px rgba(0,0,0,.45); color: inherit; }
.project-card .thumb {
  aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(45deg, var(--soft), var(--soft) 11px, transparent 11px, transparent 22px);
}
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card .ph {
  font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted);
  background: var(--card); padding: 7px 12px; border-radius: 7px; border: 1px solid var(--border);
}
.project-card .meta { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.2rem; }
.project-card .tag { margin-top: 5px; font-size: 13px; color: var(--muted); font-family: 'Space Mono', monospace; }
.project-card .arrow { flex: none; color: var(--accent); font-size: 1.3rem; }

/* Verð */
.pricing-body { margin-top: 20px; font-size: 1.1rem; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.plans-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
@media (min-width: 560px)  { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans-grid { grid-template-columns: repeat(4, 1fr); } }
.plan-card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 34px 30px; display: flex; flex-direction: column; gap: 6px;
}
.plan-card .badge {
  position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff;
  font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plan-card .name { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.plan-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.plan-card .price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 2.5vw, 2.6rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.plan-card .unit { font-size: 13px; color: var(--muted); }
.plan-card .blurb { margin-top: 8px; color: var(--muted); line-height: 1.5; font-size: 0.98rem; }
.plan-card .divider { height: 1px; background: var(--border); margin: 20px 0; }
.plan-card .items { display: grid; gap: 11px; margin-bottom: 26px; }
.plan-card .item { display: flex; gap: 11px; align-items: center; font-size: 0.98rem; }
.plan-card .item .tick { color: var(--accent); font-weight: 700; }
.plan-card .actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.plan-card .actions .btn { padding: 13px; }
.pricing-note { margin-top: 26px; font-size: 13px; color: var(--muted); font-family: 'Space Mono', monospace; line-height: 1.7; }

/* Hafðu samband */
.contact-section { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--border); }
.contact-band {
  background: var(--ink); color: var(--bg); border-radius: 24px; padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center;
}
.contact-band .body { margin-top: 18px; font-size: 1.1rem; line-height: 1.6; opacity: .75; max-width: 42ch; }
.contact-band .cta { margin-top: 26px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--bg) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  border-radius: 14px; padding: 20px 24px; color: inherit;
  transition: border-color .15s ease;
}
.contact-card:hover { border-color: var(--accent); color: inherit; }
.contact-card .lbl { display: block; font-size: 13px; opacity: .6; font-family: 'Space Mono', monospace; }
.contact-card .val { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.3rem; overflow-wrap: anywhere; }
.contact-card .arrow { color: var(--accent); font-size: 1.3rem; }
.contact-hours { font-family: 'Space Mono', monospace; font-size: 13px; opacity: .6; padding: 4px; }

/* Fótur */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.site-footer .logo img { height: clamp(42px, 5.5vw, 54px); width: auto; display: block; }
.site-footer .about { margin-top: 14px; color: var(--muted); line-height: 1.55; font-size: 0.95rem; max-width: 32ch; }
.footer-head { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; font-size: 0.98rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted);
}

/* --- Verkbeiðni-síða --- */
.form-header .bar { max-width: 900px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 20px; }
.form-header .logo img { height: clamp(40px, 5.5vw, 54px); width: auto; display: block; }
.form-header .back { margin-left: auto; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.form-main { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 84px) 24px clamp(60px, 8vw, 110px); animation: rise .6s ease both; }
.form-main h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.form-main .lead { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.request-form { margin-top: 44px; display: flex; flex-direction: column; gap: 34px; }
.request-form fieldset { border: none; display: flex; flex-direction: column; gap: 14px; }
.field-label, .request-form legend {
  font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.request-form legend { margin-bottom: 6px; }
.type-option {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; color: inherit; font-size: 1.02rem;
  transition: border-color .15s ease;
}
.type-option:hover { border-color: var(--accent); }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option .radio {
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: border-color .15s ease;
}
.type-option .radio::after { content: ''; width: 11px; height: 11px; border-radius: 50%; background: transparent; }
.type-option:has(input:checked) { border-color: var(--accent); }
.type-option:has(input:checked) .radio { border-color: var(--accent); }
.type-option:has(input:checked) .radio::after { background: var(--accent); }
.type-option .lbl { font-weight: 600; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--ink); font-size: 1rem;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field input.kt { letter-spacing: 0.04em; }
.field-error { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.field-ok { color: var(--ok); font-size: 0.9rem; font-weight: 600; }
.form-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-actions .note { color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 52ch; }
.form-actions .note a { color: var(--ink); font-weight: 600; }
.form-error-box { color: var(--accent); font-size: 0.95rem; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.confirm-card {
  margin-top: 44px; background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(28px, 5vw, 48px); animation: rise .5s ease both;
}
.confirm-card .mark {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.confirm-card h2 { margin-top: 20px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.confirm-card p { margin-top: 12px; color: var(--muted); line-height: 1.6; max-width: 52ch; }
.confirm-card p a { color: var(--ink); font-weight: 600; }
.confirm-card .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.confirm-card .actions .btn { padding: 14px 26px; font-size: 1rem; }

.form-footer { border-top: 1px solid var(--border); padding: 34px 24px; text-align: center; }
.form-footer .row {
  max-width: 900px; margin: 0 auto; display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap; align-items: center; font-family: 'Space Mono', monospace; font-size: 13px; color: var(--muted);
}
