/* =====================================================
   MitJura — hjemmeside
   Palette bygget om logo-farven #006c48
   ===================================================== */

:root {
  /* Grøn skala */
  --green:        #006c48;
  --green-dark:   #00583a;
  --green-deep:   #003826;
  --green-night:  #002418;
  --green-soft:   #e7efe9;

  /* Guld accent */
  --gold:         #c9a24b;
  --gold-light:   #e1c684;
  --gold-deep:    #a9842f;

  /* Neutraler */
  --cream:        #f6f4ec;
  --cream-deep:   #efece0;
  --ink:          #16211b;
  --muted:        #5a6b62;
  --line:         #ddd9c9;
  --white:        #ffffff;

  --shadow-sm: 0 2px 10px rgba(0, 56, 38, .07);
  --shadow-md: 0 14px 40px rgba(0, 56, 38, .12);
  --shadow-lg: 0 30px 70px rgba(0, 36, 24, .22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .2px;
}

/* ---------- Hjælpeklasser ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
}
.eyebrow.on-dark { color: var(--gold-light); }

.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin: 16px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .6px;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--green-night);
  box-shadow: 0 10px 26px rgba(201, 162, 75, .35);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  flex: none;
}
.brand-mark .pan, .brand-mark .beam, .brand-mark .post { stroke: var(--green); }
.brand-mark .gem { fill: var(--gold); }
.brand-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--green);
}
.brand-text b { color: var(--gold-deep); font-weight: 600; }

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .3px;
  padding: 10px 16px;
  border-radius: var(--radius);
  color: var(--ink);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.is-active {
  color: var(--green);
  background: var(--green-soft);
}
.nav-cta { margin-left: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--green);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: #04231a;
  background-image: url("Herobanner.png");
  background-size: cover;
  background-position: center;
}
/* Blød vignette for dybde */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(135% 75% at 50% -8%, transparent 58%, rgba(0, 0, 0, .42));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  margin: 22px 0 22px;
  letter-spacing: .5px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero p.lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, .82);
  max-width: 580px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  padding: 30px 0 70px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-meta div span {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-light);
  line-height: 1;
}
.hero-meta div small {
  font-size: 13px;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .7);
}

/* Slank hero til undersider */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 100px 0 92px;
  background: var(--green-night);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 18px 0 14px;
}
.page-hero p {
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .55);
}
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Intro / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.narrow { gap: 56px; align-items: start; }
.split.narrow > .figure-card { position: sticky; top: 100px; align-self: start; padding-bottom: 28px; }

.figure-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--green), var(--green-deep));
  color: var(--white);
  padding: 54px 46px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.figure-card.info-box { padding: 34px 38px; }
.figure-card.info-box ul { margin-top: 0; border-top: 0; padding-top: 0; }
.figure-card .mono {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold-light);
  line-height: 1;
}
.figure-card .portrait {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 767;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  margin-bottom: 4px;
}
.figure-card h3 { font-size: 1.7rem; margin: 14px 0 6px; }
.figure-card .role {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.figure-card ul {
  list-style: none;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 22px;
}
.figure-card ul li {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}
.figure-card ul li::before { content: "—"; color: var(--gold-light); }

.prose h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose p strong { color: var(--ink); }
.profile-details { margin-top: 28px; }
.profile-details .profile-degree {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.profile-details h4 {
  color: var(--green);
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 26px 0 12px;
}
.profile-details dl { display: grid; gap: 8px; margin: 0; }
.profile-details dl div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.profile-details dt { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.profile-details .profile-year { color: var(--gold-deep); font-weight: 600; }
.profile-details dd { color: var(--muted); }
.profile-details p { margin-bottom: 0; }
.profile-details .profile-text-box {
  padding: 8px 12px 5px;
  line-height: 1.45;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.profile-details .profile-text-box + .profile-text-box { margin-top: 8px; }
.prose .signature {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green);
}
.prose .signature small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Værdier ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value:nth-child(1) { background: #edf5f0; border-color: #d5e7dc; }
.value:nth-child(2) { background: #dcece3; border-color: #c1dbca; }
.value:nth-child(3) { background: #cbe2d3; border-color: #b0cfbc; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value h3 { font-size: 1.4rem; margin: 10px 0 8px; color: var(--green); }
.value p { font-size: 14.5px; color: var(--muted); }

/* ---------- Ydelser ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:nth-child(3n + 1) { background: #edf5f0; border-color: #d5e7dc; }
.service:nth-child(3n + 2) { background: #dcece3; border-color: #c1dbca; }
.service:nth-child(3n) { background: #cbe2d3; border-color: #b0cfbc; }
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service .ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 20px;
}
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--ink); }
.service p { font-size: 14.5px; color: var(--muted); }

/* ---------- Bånd / CTA ---------- */
.band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background-color: #04231a;
  background-image:
    radial-gradient(44% 72% at 10% 108%, rgba(201, 162, 75, .24), transparent 72%),
    radial-gradient(54% 78% at 94% -8%, rgba(0, 124, 82, .42), transparent 70%),
    linear-gradient(150deg, #0c3d2b 0%, #07331f 54%, #03200f 100%);
}
.band::before {
  content: "";
  position: absolute;
  bottom: -300px; left: -180px;
  width: 660px; height: 660px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 162, 75, .14);
  pointer-events: none;
}
.band .container {
  position: relative;
  z-index: 1;
  padding-block: 96px;
}
.band h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.band p {
  color: rgba(255, 255, 255, .8);
  max-width: 520px;
  margin: 0 auto 32px;
}
.home-contact-band .container { padding-block: 144px; }
.home-contact-band h2 { font-size: clamp(2.3rem, 4.6vw, 3.45rem); }
.home-contact-band p { max-width: 600px; margin-bottom: 42px; }
.home-contact-band::before { display: none; }
.home-contact-band .btn { padding: 30px 60px; font-size: 1.15rem; }
.home-contact-band + .site-footer {
  background-color: var(--green-night);
  background-image:
    radial-gradient(44% 72% at 10% 0%, rgba(201, 162, 75, .24), transparent 72%),
    radial-gradient(54% 78% at 94% 0%, rgba(0, 124, 82, .42), transparent 70%),
    linear-gradient(180deg, #03200f 0%, var(--green-night) 280px);
}

/* ---------- Tidslinje (erfaring) ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--green-soft));
}
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
}
.tl-item .year {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 1px;
}
.tl-item h3 { font-size: 1.45rem; margin: 4px 0 8px; color: var(--green); }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- Statistik ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 18px;
}
.stat span {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--green);
  line-height: 1;
}
.stat small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .8px;
  color: var(--muted);
}

/* ---------- Sagsområder (erfaring) ---------- */
.fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.field {
  padding: 34px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.field:nth-child(2n) { border-right: 0; }
.field .field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.field h3 { font-size: 1.3rem; color: var(--green); }
.field p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.contact-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ci {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.contact-row .ci svg { width: 22px; height: 22px; }
.contact-row .meta small {
  display: block;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-row .meta a, .contact-row .meta p {
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-row .meta a:hover { color: var(--green); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 1.6rem; color: var(--green); margin-bottom: 6px; }
.form-card > p { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }

.field-group { margin-bottom: 20px; }
.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 7px;
}
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-group textarea { resize: vertical; min-height: 130px; }
.phone-input { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.phone-input select { padding-left: 7px; padding-right: 7px; font-size: 14px; }
.phone-input select, .phone-input input { min-width: 0; }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 108, 72, .12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-note.is-error { color: #a23b32; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

.hours {
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 26px;
}
.hours h4 {
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 12px;
}
.hours .line {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  padding: 5px 0;
  color: var(--muted);
}
.hours .line b { color: var(--ink); font-weight: 600; }

/* ---------- Editér-mærke ---------- */
.edit-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--gold-deep);
  background: rgba(201, 162, 75, .14);
  border: 1px dashed var(--gold);
  border-radius: 3px;
  padding: 1px 7px;
  vertical-align: middle;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-night);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-grid .brand-text { color: var(--white); }
.footer-grid .brand-text b { color: var(--gold-light); }
.footer-grid p { font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; font-size: 14.5px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivt ---------- */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.narrow > .figure-card { position: static; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 78px 0; }
  .container { padding: 0 20px; }
  .services, .values, .fields, .stats { grid-template-columns: 1fr; }
  .field { border-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero {
    background-size: auto 100%;
    background-position: 72% center;
  }
  .hero-inner { padding: 82px 0 72px; }
  .hero-meta { gap: 30px; }
  .home-contact-band .container { padding-block: 108px; }
  .home-contact-band .btn { padding: 24px 44px; font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-logo { height: 38px; }
}

/* ---------- Kvitterings-popup ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 26, 18, .62);
  animation: modal-fade .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  padding: 44px 38px 38px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal-ikon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 30px;
  line-height: 64px;
  font-weight: 700;
}
.modal-card h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--green);
  margin-bottom: 12px;
}
.modal-card p {
  color: var(--muted);
  margin-bottom: 8px;
}
.modal-ref {
  margin: 16px 0 24px !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.modal-card .btn { margin-top: 6px; }
