/* =========================================================
   Símstöðin ehf — vefsíða
   Sameiginleg stílskrá (öll blöð nota þessa skrá)
   ========================================================= */

:root {
  --navy:       #3e4746;   /* charcoal úr lógói — dökkur grunnur og fyrirsagnir */
  --navy-2:     #2c3332;   /* dýpri charcoal fyrir slóða/gradient */
  --blue:       #0074af;   /* vörumerkjablár úr lógói */
  --blue-light: #e2f0f8;
  --accent:     #0074af;   /* CTA-hnappar = vörumerkjablár */
  --accent-dk:  #005c8c;
  --ink:        #2a3036;
  --muted:      #63707a;
  --line:       #e4e8ec;
  --bg:         #ffffff;
  --bg-soft:    #f5f8fb;
  --white:      #ffffff;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 10px 30px rgba(11, 53, 86, .10);
  --shadow-sm:  0 4px 14px rgba(11, 53, 86, .08);
  --maxw:       1120px;
  --font:       "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Grunnur ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 48px 0; }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .6rem;
}

/* ---------- Hnappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Haus / valmynd ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: 0 0 auto; }

/* Vörumerki — raunverulegt lógó */
.brand { padding: 4px 0; }
.brand-logo { height: 42px; width: auto; display: block; }
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: .9rem;
}
.footer-logo-chip img { height: 34px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 36px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  display: block;
  padding: .5rem .7rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: .96rem;
}
.nav-links a:not(.btn):hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a.btn--primary { color: #fff; }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.nav-links .btn { padding: .55rem 1.05rem; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding: 58px 0 62px;
  /* Fínlegt teikni-rúðunet (blueprint) + mjúkur ljómi + ljós grunnur */
  background:
    repeating-linear-gradient(0deg, rgba(0,116,175,.045) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(0,116,175,.045) 0 1px, transparent 1px 48px),
    radial-gradient(46% 70% at 90% 38%, rgba(0,116,175,.07), transparent 62%),
    linear-gradient(180deg, #f4f8fc 0%, #ffffff 66%);
}
/* Skrifstofubyggingin — meðhöndluð (afmettuð) og leyst upp á þrjá vegu svo hún renni saman við síðuna */
.hero::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 82%;
  background: url("img/photos/office-building-treated.jpg") center right / cover no-repeat;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 40%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 40%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 78%, transparent 100%);
  mask-composite: intersect;
  z-index: 0;
}
@media (max-width: 820px) {
  .hero { padding: 22px 0 172px; }
  .hero::before {
    width: 100%; top: auto; bottom: 0; height: 220px; background-position: center 42%;
    -webkit-mask-image: linear-gradient(to top, #000 40%, transparent);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(to top, #000 40%, transparent);
    mask-composite: add;
  }
}
.hero-inner { position: relative; z-index: 2; }
.hero-lines { position: absolute; z-index: 1; pointer-events: none; display: none; }
@media (min-width: 1000px) { .hero-lines { display: block; left: 42%; top: 21%; width: 30%; max-width: 520px; height: auto; } }
.hero > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 26px 60px rgba(0,0,0,.40); border: 1px solid rgba(255,255,255,.14); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .hero-photo img { aspect-ratio: 16 / 10; } }
.hero-wave {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-divider { position: absolute; left: 0; bottom: -1px; width: 100%; line-height: 0; z-index: 2; pointer-events: none; }
.hero-divider svg { width: 100%; height: 64px; display: block; }
.hero h1 { color: var(--navy); margin-bottom: .35em; }
.hero .lead { color: var(--muted); font-size: 1.28rem; max-width: 42ch; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-inner { max-width: 720px; }
.hero-copy { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.3rem;
}
.live-dot { position: relative; width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--blue); }
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue);
  animation: livePulse 1.9s ease-out infinite;
}
@keyframes livePulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }

/* ---------- Innri síðuhaus ---------- */
.page-head {
  background:
    radial-gradient(900px 400px at 85% -30%, rgba(0,116,175,.35), transparent 62%),
    linear-gradient(120deg, #0b2338 0%, #143a5c 60%, #0e2c47 100%);
  color: #eaf2fa;
  padding: 64px 0 56px;
}
.page-head h1 { color: #fff; }
.page-head p { color: #c6d8e8; max-width: 60ch; margin: 0; font-size: 1.15rem; }

/* ---------- Spjöld / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-top: .2rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Listi með hökum ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231466a5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Tveggja dálka útlit ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

/* ---------- Tengiliðaræma ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-strip .item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-strip .icon-badge { flex: 0 0 auto; margin-bottom: 0; width: 46px; height: 46px; }
.contact-strip strong { display: block; color: var(--navy); }
.contact-strip span { color: var(--muted); }

/* ---------- CTA borði ---------- */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; }
.cta p { color: #d4e4f2; max-width: 52ch; margin: 0 auto 1.6rem; }

/* ---------- Fólk / stjórnendur ---------- */
.person {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.person .avatar {
  width: 60px; height: 60px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
}
.person .role { color: var(--muted); font-size: .95rem; margin: 0; }
.person .name { color: var(--navy); font-weight: 700; margin: 0; }
.person a { font-weight: 600; }

/* Starfsfólk með mynd */
.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.person-photo {
  width: 118px; height: 118px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(11,53,86,.16);
}
.person-card .name { color: var(--navy); font-weight: 700; margin: 0; font-size: 1.12rem; }
.person-card .role { color: var(--muted); margin: .15rem 0 .55rem; }
.person-card a { font-weight: 600; }

/* ---------- Eyðublöð ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--navy); font-size: .96rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20,102,165,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* ---------- Fótur ---------- */
.site-footer {
  background: var(--navy);
  color: #b9cadb;
  padding: 56px 0 28px;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.site-footer a { color: #cbdcec; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 20px;
  font-size: .9rem;
  color: #8fa6bc;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}

/* ---------- Ýmislegt ---------- */
.badge-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pill {
  background: var(--blue-light);
  color: var(--blue);
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Úthringinúmer ---------- */
.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.num {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.num::before {
  content: "";
  width: 16px; height: 16px; flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231466a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.num:hover { transform: translateY(-2px); text-decoration: none; border-color: var(--blue); box-shadow: var(--shadow); }

/* ---------- Tölfræði / proof band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat .figure {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .figure span { color: var(--blue); }
.stat .label { color: var(--muted); font-size: .98rem; margin-top: .5rem; }

/* Á dökkum bakgrunni (t.d. í hero) */
.stat-band--onDark .figure { color: #fff; }
.stat-band--onDark .figure span { color: var(--accent); }
.stat-band--onDark .label { color: #b9d0e4; }

/* ---------- Hero tölfræðiræma ---------- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.hero-stats .figure { font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-stats .figure span { color: var(--blue); }
.hero-stats .label { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

/* ---------- Ferli / svona vinnum við ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Umsagnir / testimonials ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.12rem; color: var(--ink); font-style: italic; margin-bottom: 1rem; }
.quote .who { font-style: normal; color: var(--muted); font-size: .95rem; }
.quote .who strong { color: var(--navy); display: block; }

/* ---------- Myndir ---------- */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media--tint::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(62,71,70,.30), rgba(0,116,175,.28));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.media-3x2 { aspect-ratio: 3 / 2; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-1x1 { aspect-ratio: 1 / 1; }

/* Heilbreið myndaræma með texta ofan á */
.feature-band { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 340px; display: flex; align-items: center; }
.feature-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.feature-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,50,56,.86) 0%, rgba(43,50,56,.62) 45%, rgba(0,116,175,.30) 100%); z-index: 1; }
.feature-band .fb-inner { position: relative; z-index: 2; padding: 48px; max-width: 620px; color: #eaf2fa; }
.feature-band h2 { color: #fff; }
.feature-band p { color: #d4e4f2; }

/* ---------- Logo-veggur / viðskiptavinir ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  height: 110px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease;
}
.logo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-cell img {
  max-height: 62px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
/* Ferningslaga/hátt merki: minni spássía svo merkið fylli reitinn betur */
.logo-cell--tall { padding: 12px; }
.logo-cell--tall img { max-height: 86px; }

@media (max-width: 900px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }
  .logo-wall { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .logo-cell { height: 92px; padding: 16px; }
  .logo-cell img { max-height: 50px; }
  .logo-cell--tall { padding: 10px; }
  .logo-cell--tall img { max-height: 72px; }
}

/* ---------- Skjár undir 900px ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 16px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .5rem; border-radius: 8px; }
  .nav-links .btn { margin-top: .5rem; text-align: center; justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  .section { padding: 56px 0; }
}

/* ============================================================
   NÝ FORSÍÐA — efsta ræma, dökkur haus með skábyggingu,
   þjónustuspjöld sem skarast, og traust-borði með tölum
   ============================================================ */

/* Efsta upplýsingaræma */
.topbar { background: #0c2c48; color: #b7c8d6; font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar .tb-left { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.topbar a { color: #e8eff5; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { color: #93aabc; }
@media (max-width: 760px) { .topbar .tb-right { display: none; } .topbar .tb-left { gap: 1.1rem; } }

/* HERO — dökkur (endurskilgreinir ljósa hausinn) */
.hero { position: relative; overflow: hidden; color: #eaf2fa; padding: 0;
  background: linear-gradient(115deg, #0b2338 0%, #143a5c 52%, #0e2c47 100%); }
.hero::before { content: none !important; }
.hero::after { content: none !important; }
.hero-lines { display: none !important; }
.hero .container { position: relative; z-index: 4; }
.hero-copy { max-width: 700px; padding: 80px 0 205px; }
@media (max-width: 980px) { .hero-copy { max-width: 100%; padding: 52px 0 150px; } }

.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; z-index: 1;
  -webkit-clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, #0b2338 2%, rgba(11,35,56,.68) 16%, rgba(11,35,56,0) 34%); }
.hero-accent { position: absolute; right: 0; bottom: -1px; width: 48%; height: 66%; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 24px),
    linear-gradient(130deg, transparent 45%, rgba(0,116,175,.5) 100%);
  -webkit-clip-path: polygon(26% 100%, 100% 32%, 100% 100%);
  clip-path: polygon(26% 100%, 100% 32%, 100% 100%); }
@media (max-width: 980px) {
  .hero-media { width: 100%; opacity: .45; -webkit-clip-path: none; clip-path: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,35,56,.5), #0b2338 82%); }
  .hero-accent { display: none; }
}

.hero-eyebrow { display: inline-flex; align-items: center; gap: .8rem; text-transform: uppercase;
  letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: #7db8e6; margin-bottom: 1.1rem; }
.hero-eyebrow::before { content: ""; width: 46px; height: 2px; background: var(--blue); display: inline-block; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 3.6rem); margin-bottom: .5rem; max-width: 15ch; }
.hero h1 .hl { color: #4aa3dd; }
.hero .lead { color: #c3d6e6; font-size: 1.2rem; max-width: 44ch; }
.hero .btn-row { margin-top: 1.8rem; }

/* Þjónustuspjöld sem skarast við hausinn */
.svc-strip { position: relative; z-index: 6; margin-top: -145px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 22px;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(11,53,86,.17); }
.svc-card h3 { font-size: 1.12rem; margin: 4px 0 .4rem; }
.svc-card p { color: var(--muted); font-size: .96rem; margin: 0 0 .9rem; }
.svc-card .more { font-weight: 700; font-size: .92rem; color: var(--blue); }
.svc-card .more:hover { text-decoration: none; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc-strip { margin-top: -115px; } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } .svc-strip { margin-top: -100px; } }

/* Traust-borði með tölum */
.proof-head { display: flex; align-items: baseline; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 30px; }
.proof-head h2 { margin: 0; }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.proof-stat { display: flex; align-items: center; gap: .9rem; }
.proof-stat .icon-badge { flex: 0 0 auto; margin: 0; }
.proof-stat .fig { font-size: 1.65rem; font-weight: 800; color: var(--navy); line-height: 1; }
.proof-stat .lbl { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
@media (max-width: 860px) { .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } }

/* ============================================================
   Eyðublöð — nauðsyn, staðfesting/villuboð, ruslavörn
   ============================================================ */
.hp { display: none !important; }
.req { color: #c0392b; margin-left: 2px; font-weight: 700; }
.form-status {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 1.1rem;
  font-weight: 600;
  font-size: .96rem;
}
.form-status--ok { background: #e7f6ec; border: 1px solid #b7e2c5; color: #1c6b3a; }
.form-status--err { background: #fdecea; border: 1px solid #f2b8b2; color: #a12a1e; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217,83,79,.14);
}
.btn[disabled] { opacity: .65; pointer-events: none; }

/* Topbar tákn (SVG í stað emoji) */
.tb-ico{width:13px;height:13px;vertical-align:-2px;margin-right:6px;flex:none}
