/* Litir teknir beint úr merkinu: svart letur, grátt „&“ og rauður hjálmur */
:root {
  --red: #cc0a1c;
  --red-dark: #a8081a;
  --black: #0d0d0d;
  --ink: #111111;
  --grey: #b3b3b3;
  --text: #3d3d3d;
  --muted: #6e6e6e;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --max: 1200px;
  --display: "Saira", "Eurostile", "Microgramma", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

/* Fyrirsagnir í breiðu letri eins og í merkinu */
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 125%;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

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

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display);
  font-stretch: 125%;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2em;
}
.rule { display: inline-block; width: 36px; height: 2px; background: var(--red); flex: none; }
.muted { color: var(--muted); }

/* Hnappar */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--red);
  padding: 1em 1.8em;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-small { padding: .75em 1.3em; font-size: .75rem; }

/* Haus */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font-family: var(--display);
  font-stretch: 125%;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Forsíða */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(0,0,0,.035) 119px 120px),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-text h1 { max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Mynd með merkinu sem litlu spjaldi */
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; left: -44px; bottom: 44px;
  background: #fff; padding: 20px 24px;
  border-left: 4px solid var(--red);
  box-shadow: 0 24px 50px rgba(0,0,0,.14);
}
.hero-badge img { width: 96px; }

.hero-strip {
  list-style: none;
  margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.hero-strip li {
  font-family: var(--display);
  font-stretch: 125%;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 22px 0;
  border-right: 1px solid var(--line);
  padding-left: 20px;
}
.hero-strip li:first-child { padding-left: 0; }
.hero-strip li:last-child { border-right: 0; }

/* Hlutar */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 56px; }

/* Þjónusta */
.services {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  position: relative;
  padding: 48px 44px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.service::before {
  content: ""; position: absolute; left: -1px; top: -1px;
  width: 0; height: 3px; background: var(--red); transition: width .35s;
}
.service:hover { background: var(--bg-alt); }
.service:hover::before { width: calc(100% + 1px); }
.service-num {
  display: block;
  font-family: var(--display);
  font-stretch: 125%;
  font-size: 2.6rem; font-weight: 300;
  line-height: 1;
  color: var(--grey);
  margin-bottom: 28px;
}
.service p { margin: 0; font-size: .98rem; }

/* Fyrirtækið */
.section-dark { background: var(--black); color: #bdbdbd; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #8a8a8a; }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.about-body h2 { margin-bottom: .8em; }
.about-lead {
  font-family: var(--display);
  font-stretch: 112%;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 1.2em;
}
.facts {
  list-style: none; margin: 36px 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.facts strong { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.facts span { font-size: .88rem; color: #8a8a8a; }

/* Verðskrá */
.pricing .section-head { margin-bottom: 0; }
.pricing { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.price-table { margin: 0; background: #fff; border: 1px solid var(--line); }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row dt { color: var(--text); }
.price-row dd {
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-row.featured { background: var(--ink); border-left: 4px solid var(--red); }
.price-row.featured dt { color: #fff; font-weight: 500; }
.price-row.featured dd { color: #fff; font-size: 1.25rem; }

/* Hafa samband */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span {
  font-family: var(--display); font-stretch: 125%;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding-top: 4px;
}
.contact-list a { overflow-wrap: anywhere; text-decoration: none; color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.contact-list a:hover { color: var(--red); }

.form { background: var(--bg-alt); padding: 44px; border-top: 3px solid var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: .9rem; font-weight: 500;
  color: var(--ink);
}
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: 400 1rem/1.5 var(--body);
  letter-spacing: 0; text-transform: none;
  padding: 12px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-box {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 14px;
  border: 1px dashed #c4c4c4; border-radius: 2px; background: #fff;
  font: 400 .95rem/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted);
  cursor: pointer;
}
.file-box:hover, .file-input:focus + .file-box { border-color: var(--ink); }
.file-box span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-box b {
  flex: none;
  font: 600 .72rem/1 var(--display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--ink); padding: .9em 1.2em; border-radius: 2px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form textarea { resize: vertical; }
.form .btn { width: 100%; }
.honey { position: absolute; left: -9999px; }

/* Fótur */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 0; font-size: .92rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; padding-bottom: 40px; }
.footer-logo { height: 52px; width: auto; }
.site-footer address { font-style: normal; text-align: right; line-height: 1.8; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px; padding-bottom: 22px;
  font-size: .8rem; letter-spacing: .06em;
}

[hidden] { display: none !important; }

/* Skjástærðir */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 28px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .pricing .section-head, .contact-info { margin-bottom: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: none; justify-self: stretch; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-badge { left: 24px; bottom: 24px; }
  .about-photo img { aspect-ratio: 16 / 10; }
  .about, .pricing, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip li:nth-child(2) { border-right: 0; }
  .hero-strip li:nth-child(3) { padding-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .header-inner { height: 68px; }
  .brand img { height: 34px; }

  .hero { padding-top: 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-badge { display: none; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-strip { margin-top: 56px; }
  .hero-strip li { font-size: .68rem; letter-spacing: .12em; padding: 18px 0 18px 14px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 36px 24px; }
  .price-row { padding: 16px 18px; }
  .price-row dt { font-size: .95rem; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer address { text-align: left; }
}

/* Þakkarsíða */
.thanks { min-height: calc(100vh - 81px); display: flex; align-items: center; }
.thanks .lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 2em; }
.thanks .lead a { color: var(--ink); font-weight: 600; }
