/* Migralux — immigration & relocation service. Graphite/charcoal + white + soft mint-lime accent. */
:root {
  --charcoal: #1c1f22;
  --graphite: #2b2f33;
  --graphite-2: #3a3f44;
  --ink: #23272b;
  --slate: #5b636b;
  --mist: #8a929a;
  --line: #e4e7ea;
  --line-2: #eef1f3;
  --paper: #ffffff;
  --paper-2: #f6f8f9;
  --mint: #c7f5d2;
  --mint-deep: #1f8f4e;
  --mint-soft: #e9fbef;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28,31,34,.05), 0 8px 28px rgba(28,31,34,.06);
  --shadow-sm: 0 1px 2px rgba(28,31,34,.06);
  --maxw: 1180px;
  --head: "Familjen Grotesk", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--charcoal); line-height: 1.12; letter-spacing: -.015em; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.accent { color: var(--mint-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--mist); background: var(--paper-2); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #b3efc1; transform: translateY(-1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 600; font-size: 1.25rem; color: var(--charcoal); letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: .96rem; transition: color .15s; }
.nav-links a:hover { color: var(--charcoal); }
.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--body);
  font-size: .9rem; font-weight: 600; color: var(--charcoal); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 9px; padding: .5rem .7rem; cursor: pointer;
}
.lang-btn:hover { border-color: var(--mist); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  padding: .35rem; min-width: 132px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: none; padding: .5rem .65rem; border-radius: 7px;
  font-family: var(--body); font-size: .92rem; color: var(--slate); cursor: pointer; text-align: left;
}
.lang-menu button:hover { background: var(--paper-2); color: var(--charcoal); }
.lang-menu button.active { color: var(--charcoal); font-weight: 600; }
.lang-menu button.active::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; padding: .55rem .6rem; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--charcoal); border-radius: 2px; }
.menu-toggle span + span { margin-top: 4px; }

/* Hero — split */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch; }
.hero-copy { padding: 5.5rem 3.5rem 5.5rem 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--head); font-weight: 600;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-deep);
  background: var(--mint-soft); padding: .4rem .8rem; border-radius: 30px; margin-bottom: 1.5rem;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--mint-deep); border-radius: 50%; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); margin-bottom: 1.2rem; }
.hero-copy .lead { font-size: 1.15rem; color: var(--slate); max-width: 38ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-trust .stat .n { font-family: var(--head); font-weight: 600; font-size: 1.6rem; color: var(--charcoal); }
.hero-trust .stat .l { font-size: .86rem; color: var(--mist); }
.hero-media { position: relative; border-left: 1px solid var(--line); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.hero-badge {
  position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 260px;
}
.hero-badge .ico { width: 38px; height: 38px; border-radius: 9px; background: var(--mint-soft); display: grid; place-items: center; color: var(--mint-deep); flex-shrink: 0; }
.hero-badge .t { font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--charcoal); }
.hero-badge .s { font-size: .8rem; color: var(--mist); }

/* Section primitives */
.section { padding: 5.5rem 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head .kicker { font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: .8rem; display: block; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.section-head p { color: var(--slate); font-size: 1.05rem; }

/* Service cards — dashboard modules */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: .2s ease; box-shadow: var(--shadow-sm);
}
.card:hover { border-color: var(--mist); transform: translateY(-2px); box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 11px; background: var(--ink); color: var(--mint); display: grid; place-items: center; margin-bottom: 1.3rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.card p { color: var(--slate); font-size: .96rem; }
.card .tag { display: inline-block; margin-top: 1.1rem; font-size: .8rem; font-weight: 600; color: var(--mint-deep); background: var(--mint-soft); padding: .25rem .6rem; border-radius: 20px; }

/* Process — dashboard steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .num { font-family: var(--head); font-weight: 600; font-size: .82rem; color: var(--mint-deep); letter-spacing: .05em; margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.step .num::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); border: 2px solid var(--mint-deep); }
.step h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.step p { color: var(--slate); font-size: .92rem; }
.step .bar { height: 4px; border-radius: 4px; background: var(--line-2); margin-top: 1.1rem; overflow: hidden; }
.step .bar span { display: block; height: 100%; background: var(--mint-deep); border-radius: 4px; }

/* Eligibility + sticky summary */
.elig-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.2rem; align-items: start; }
.elig-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.elig-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.elig-card > p { color: var(--slate); margin-bottom: 1.6rem; }
.checklist { list-style: none; display: grid; gap: .2rem; }
.check-item {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem; border-radius: var(--radius-sm);
  cursor: pointer; border: 1px solid transparent; transition: .15s; user-select: none;
}
.check-item:hover { background: var(--paper-2); }
.check-item .box {
  width: 22px; height: 22px; flex-shrink: 0; border: 2px solid var(--line); border-radius: 6px;
  display: grid; place-items: center; color: #fff; transition: .15s;
}
.check-item .box svg { opacity: 0; transition: opacity .15s; }
.check-item.checked { background: var(--mint-soft); border-color: var(--mint); }
.check-item.checked .box { background: var(--mint-deep); border-color: var(--mint-deep); }
.check-item.checked .box svg { opacity: 1; }
.check-item .label { font-weight: 500; color: var(--ink); font-size: .98rem; }

.summary {
  position: sticky; top: 96px; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.summary h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .55rem; }
.summary .ring { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.summary .ring .pct { font-family: var(--head); font-weight: 600; font-size: 2.4rem; color: var(--mint); line-height: 1; }
.summary .ring .meta { font-size: .88rem; color: #b6bcc2; }
.summary .track { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; margin-bottom: 1.6rem; }
.summary .track span { display: block; height: 100%; background: var(--mint); border-radius: 8px; transition: width .3s ease; }
.summary .note { font-size: .86rem; color: #aab1b8; margin-bottom: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; }
.summary .btn-mint { width: 100%; justify-content: center; }

/* Stats band */
.band { background: var(--ink); color: #fff; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3.5rem 28px; }
.band .stat .n { font-family: var(--head); font-weight: 600; font-size: 2.3rem; color: var(--mint); }
.band .stat .l { color: #b6bcc2; font-size: .94rem; margin-top: .2rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.quote p { color: var(--ink); font-size: 1rem; margin-bottom: 1.3rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; }
.quote .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote .who .nm { font-family: var(--head); font-weight: 600; font-size: .95rem; }
.quote .who .rl { font-size: .82rem; color: var(--mist); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; background: none; border: none; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--charcoal); text-align: left; }
.faq-q .pm { color: var(--mint-deep); font-size: 1.4rem; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--slate); font-size: .97rem; }

/* CTA */
.cta { background: var(--ink); color: #fff; border-radius: 18px; padding: 3.5rem; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.cta p { color: #b6bcc2; max-width: 48ch; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta .hero-cta { justify-content: center; }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 3rem 0 2.2rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: var(--charcoal); margin-bottom: 1rem; }
.footer-brand img { width: 28px; height: 28px; }
.footer-entity { color: var(--slate); font-size: .94rem; line-height: 1.8; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--slate); font-size: .92rem; font-weight: 500; }
.footer-links a:hover { color: var(--charcoal); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--mist); font-size: .9rem; }

/* Legal pages */
.legal { padding: 4rem 0 5rem; }
.legal-wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: .6rem; }
.legal .updated { color: var(--mist); font-size: .92rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: var(--slate); margin-bottom: .9rem; }
.legal ul { padding-left: 1.3rem; }
.legal a { color: var(--mint-deep); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--mint-deep); font-weight: 600; margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 0; }
  .hero-media { border-left: none; border-top: 1px solid var(--line); }
  .hero-media img { min-height: 340px; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .elig-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .band .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .nav.mobile-open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 28px; gap: 1rem; }
  .cards, .quotes, .steps, .band .wrap { grid-template-columns: 1fr; }
  .cta { padding: 2.2rem 1.4rem; }
}
