/* Core Migration landing pages (coremigration.uk, croatia.coremigration.uk).
   Colours and font follow coremigration.eu. Plain CSS, no build step. */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #120d0a;
  --brown: #5a4125;
  --sand: #f3efe9;
  --sand-2: #e2dbc8;
  --teal: #006a80;
  --teal-2: #2f9ba0;
  --orange: #fe871c;
  --white: #fff;
  --radius: 14px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: var(--sand); border-bottom: 1px solid var(--sand-2); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
header.top img { height: 36px; width: auto; }
header.top nav a { margin-left: 22px; font-weight: 600; font-size: 14px; color: var(--brown); text-decoration: none; }
header.top nav a.cta { background: var(--teal); color: var(--white); padding: 9px 16px; border-radius: 999px; }
@media (max-width: 760px) { header.top nav a:not(.cta) { display: none; } }

/* hero */
.hero { position: relative; color: var(--white); background: #2a2018 url("/assets/img/hero.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,10,.82) 0%, rgba(18,13,10,.55) 60%, rgba(18,13,10,.25) 100%); }
.hero .wrap { position: relative; padding: 110px 24px 120px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--sand-2); }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.12; margin: 14px 0 18px; max-width: 820px; font-weight: 800; }
.hero p.lead { font-size: 19px; max-width: 640px; color: #f1ece4; }
.btns { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--orange); color: var(--ink); }
.btn.ghost { border: 2px solid var(--white); color: var(--white); }

/* sections */
section { padding: 84px 0; }
section.alt { background: var(--sand); }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 8px 0 14px; font-weight: 800; }
.sub { color: var(--brown); max-width: 720px; font-size: 17px; }
.grid { display: grid; gap: 22px; margin-top: 38px; }
.grid.c5 { grid-template-columns: repeat(5, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
@media (max-width: 960px) { .grid.c5 { grid-template-columns: repeat(3, 1fr); } .grid.c3 { grid-template-columns: 1fr 1fr; } .grid.c2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid.c5, .grid.c3 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 24px; }
section.alt .card { border-color: transparent; }
.country { text-align: center; }
.country img { height: 46px; width: auto; margin: 0 auto 12px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.country b { display: block; font-size: 17px; }
.country span { font-size: 13px; color: var(--brown); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: #3b2f25; font-size: 15px; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; display: grid; place-items: center; }
ol.steps b { display: block; font-size: 17px; }
ul.ticks { padding: 0; list-style: none; }
ul.ticks li { padding-left: 30px; position: relative; margin: 10px 0; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* contact */
.contact { background: var(--ink); color: var(--sand); }
.contact h2 { color: var(--white); }
.contact .sub { color: var(--sand-2); }
.contact a { color: var(--orange); }
form.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.lead .full { grid-column: 1 / -1; }
form.lead label { font-size: 13px; font-weight: 600; color: var(--sand-2); display: block; margin-bottom: 4px; }
form.lead input, form.lead textarea, form.lead select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #4a3d33; background: #1f1813; color: var(--white); font: inherit; }
form.lead textarea { min-height: 120px; }
form.lead button { border: 0; cursor: pointer; font: inherit; }
form.lead .consent { font-size: 13px; color: var(--sand-2); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { form.lead { grid-template-columns: 1fr; } }

/* footer + text pages */
footer { background: #0b0806; color: #a99b8b; font-size: 14px; padding: 30px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--sand-2); }
.page { padding: 64px 0 90px; }
.page h1 { font-size: 34px; }
.page h2 { font-size: 22px; margin-top: 34px; }
.page .wrap { max-width: 820px; }
