/* Vihotar.net — Study in Europe
   Palette: EU blue + gold stars, India saffron, white.
   Type: Bricolage Grotesque (display), Instrument Sans (text). */

:root {
  --eu: #003399;
  --eu-2: #0a4bc4;
  --night: #001845;
  --night-2: #062763;
  --gold: #ffcc00;
  --saffron: #ff9933;
  --saffron-ink: #b85400;
  --ink: #0b1b3f;
  --ink-soft: #46557a;
  --mist: #eef2ff;
  --line: #d7def0;
  --white: #ffffff;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.2rem);

  --wrap: 1180px;
  --pad: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);
  --r-sm: 10px;
  --r-lg: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--eu); text-underline-offset: 3px; }
a:hover { color: var(--eu-2); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--night); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.measure { max-width: 64ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 24, 69, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name span { color: var(--saffron); }
.brand-tag { display: block; font-family: var(--text); font-weight: 500; font-size: .74rem; letter-spacing: .01em; opacity: .75; margin-top: 3px; }
.nav { display: flex; gap: .3rem; align-items: center; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; padding: .5rem .75rem; border-radius: 999px; font-weight: 500; font-size: .96rem; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--white); }
.nav .nav-cta { background: var(--saffron); color: var(--night); font-weight: 700; margin-left: .4rem; }
.nav .nav-cta:hover { background: var(--gold); color: var(--night); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--night); padding: .8rem var(--pad) 1.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .9rem; font-size: 1.05rem; }
  .nav .nav-cta { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-saffron { background: var(--saffron); color: var(--night); box-shadow: 0 8px 24px -10px rgba(255,153,51,.8); }
.btn-saffron:hover { background: var(--gold); color: var(--night); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-blue { background: var(--eu); color: var(--white); }
.btn-blue:hover { background: var(--eu-2); color: var(--white); transform: translateY(-2px); }
.btn-line { border-color: var(--eu); color: var(--eu); background: transparent; }
.btn-line:hover { background: var(--eu); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(10,75,196,.55), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(255,153,51,.22), transparent 60%),
    var(--night);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { color: var(--white); max-width: 12ch; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); }
.hero .lede { color: rgba(255,255,255,.82); }
.hero-sub { font-size: var(--step-1); color: rgba(255,255,255,.8); max-width: 40ch; margin: 1.6rem 0 1.8rem; }

/* Split-flap "next stop" board */
.board { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem .9rem; margin-top: .4rem; }
.board-label { font-weight: 600; color: var(--gold); font-size: 1.05rem; }
.flaps { display: inline-flex; gap: 4px; }
.flap {
  position: relative; width: 1.55em; height: 2.05em; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, .8rem + 1.1vw, 1.7rem); color: var(--white);
  background: linear-gradient(#0d2e73 0 50%, #0a2762 50% 100%);
  border-radius: 7px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25), 0 6px 14px -8px rgba(0,0,0,.6);
  perspective: 300px;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.flap.flip { animation: flip .32s var(--ease); }
@keyframes flip {
  0% { transform: rotateX(0); }
  45% { transform: rotateX(-88deg); filter: brightness(.7); }
  55% { transform: rotateX(88deg); }
  100% { transform: rotateX(0); }
}
.board-country { font-size: .98rem; color: rgba(255,255,255,.72); min-width: 9ch; }

/* Route map */
.route { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.route svg { width: 100%; height: 100%; overflow: visible; }
.route .ring { transform-origin: 360px 210px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.route .arc { stroke-dasharray: 6 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.route .city circle.halo { transform-box: fill-box; transform-origin: center; opacity: 0; }
.route .city.lit circle.halo { animation: pulse 1.8s var(--ease) infinite; }
.route .city text { font-family: var(--display); font-size: 17px; font-weight: 700; fill: var(--gold); opacity: 0; transition: opacity .4s; paint-order: stroke; stroke: var(--night); stroke-width: 4px; }
.route .city.lit text { opacity: 1; }
.route .city circle.dot { fill: rgba(255,255,255,.6); transition: fill .3s, r .3s; }
.route .city.lit circle.dot { fill: var(--gold); }
@keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }

/* Star ticker */
.ticker { background: var(--eu); color: var(--white); overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); }
.ticker-track { display: flex; gap: 2.2rem; width: max-content; padding: .95rem 0; animation: ticker 48s linear infinite; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.ticker-track span { display: inline-flex; align-items: center; gap: 2.2rem; white-space: nowrap; }
.ticker-track svg { width: 16px; height: 16px; color: var(--gold); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; }
.section-mist { background: var(--mist); }
.section-night { background: var(--night); color: var(--white); }
.section-night .lede, .section-night p { color: rgba(255,255,255,.8); }
.section-head { display: grid; gap: .6rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.section-head h2 { max-width: 18ch; }
.section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; }
@media (max-width: 820px) { .section-head.split { grid-template-columns: 1fr; } }

/* Country mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 250px; padding: 1.5rem; border-radius: var(--r-lg); text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(0,24,69,.45); border-color: transparent; color: var(--ink); }
.tile .flag { display: flex; height: 8px; width: 64px; border-radius: 4px; overflow: hidden; margin-bottom: 1.1rem; }
.tile .flag i { flex: 1; }
.tile h3 { font-size: var(--step-2); margin-bottom: .3rem; }
.tile .rank { font-size: .9rem; font-weight: 600; color: var(--saffron-ink); }
.tile dl { margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.tile dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .6rem; font-size: .95rem; }
.tile dt { color: var(--ink-soft); }
.tile dd { margin: 0; font-weight: 600; }
.tile-go { margin-top: 1.3rem; font-weight: 700; color: var(--eu); }
.tile.feature { grid-column: span 3; grid-row: span 2; background: var(--eu); color: var(--white); border: 0; min-height: 420px; justify-content: flex-start; }
.tile.feature dl { margin-top: 2rem; }
.tile.feature .tile-go { margin-top: auto; padding-top: 1.5rem; }
.tile.feature::before {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,0,.28), transparent 65%);
}
.tile.feature h3 { font-size: var(--step-3); color: var(--white); }
.tile.feature .rank { color: var(--gold); }
.tile.feature dt { color: rgba(255,255,255,.7); }
.tile.feature .tile-go { color: var(--gold); }
.tile.feature:hover { color: var(--white); }
.tile.second { grid-column: span 3; }
.tile.more { background: var(--saffron); border: 0; }
.tile.more h3, .tile.more .tile-go { color: var(--night); }
@media (max-width: 980px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.second, .tile.feature { grid-column: span 2; grid-row: auto; min-height: 0; }
}
@media (min-width: 640px) and (max-width: 980px) {
  .tile:not(.feature):not(.second) { grid-column: span 1; }
}

/* Journey (a real sequence) */
.journey { position: relative; display: grid; gap: 0; counter-reset: step; }
.journey::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 3px; }
.journey .progress { position: absolute; left: 27px; top: 10px; width: 3px; height: 0; background: linear-gradient(var(--saffron), var(--gold)); border-radius: 3px; transition: height .2s linear; }
.step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1.4rem; padding: 0 0 2.2rem; }
.step:last-child { padding-bottom: 0; }
.step-no {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.4rem; background: var(--white); color: var(--eu); border: 3px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.step.reached .step-no { background: var(--eu); color: var(--white); border-color: var(--eu); }
.step h3 { margin: .7rem 0 .35rem; }
.step p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
.step .who { display: inline-block; margin-top: .6rem; font-size: .85rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: var(--mist); color: var(--eu); }
.step .who.india { background: #fff1e3; color: var(--saffron-ink); }

/* Two sides */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.side { padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); border-radius: var(--r-lg); }
.side ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
.side-eu { background: var(--eu); color: var(--white); }
.side-eu h3 { color: var(--white); }
.side-in { background: #fff1e3; color: var(--ink); }
.side .tag { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: .8rem; }
.side-eu .tag { color: var(--gold); }
.side-in .tag { color: var(--saffron-ink); }
@media (max-width: 760px) { .sides { grid-template-columns: 1fr; } }

/* Budget tool */
.planner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.planner form { display: grid; gap: 1.4rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: .6rem; font-size: 1.02rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
  border: 2px solid var(--line); background: var(--white); font-weight: 600; cursor: pointer; transition: all .2s;
}
.chips input:checked + span { background: var(--eu); border-color: var(--eu); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.section-night .chips span { background: transparent; border-color: rgba(255,255,255,.3); color: var(--white); }
.section-night .chips input:checked + span { background: var(--saffron); border-color: var(--saffron); color: var(--night); }
.result { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.result h3 { font-size: var(--step-2); margin-bottom: 1.2rem; }
.result-rows { display: grid; gap: 1rem; margin: 0; }
.result-rows div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding-bottom: .9rem; border-bottom: 1px dashed var(--line); }
.result-rows dt { color: var(--ink-soft); }
.result-rows dd { margin: 0; font-family: var(--display); font-weight: 750; font-size: 1.25rem; text-align: right; }
.result-total { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--mist); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.result-total strong { font-family: var(--display); font-size: var(--step-2); color: var(--eu); }
.result small { display: block; margin-top: 1rem; color: var(--ink-soft); font-size: .85rem; line-height: 1.5; }
.result .num { display: inline-block; transition: opacity .2s; }
@media (max-width: 880px) { .planner { grid-template-columns: 1fr; } }

/* Callout band */
.band { background: var(--saffron); color: var(--night); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(2.5rem, 2rem + 2vw, 3.8rem) 0; }
.band h2 { margin: 0 0 .3rem; max-width: 20ch; }
.band p { margin: 0; max-width: 48ch; font-size: 1.08rem; }
.band .btn-blue { background: var(--night); }
.band .btn-blue:hover { background: var(--eu); }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--eu); box-shadow: 0 14px 30px -24px rgba(0,51,153,.6); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.3rem; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--eu); border-bottom: 2.5px solid var(--eu); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq .ans p:last-child { margin: 0; }

/* Page header (inner pages) */
.page-head { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(900px 400px at 90% 0%, rgba(10,75,196,.6), transparent 60%), var(--night); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-head h1 { font-size: var(--step-4); max-width: 16ch; color: var(--white); }
.page-head .lede { color: rgba(255,255,255,.82); max-width: 56ch; }
.page-head .stars { position: absolute; right: -120px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); opacity: .9; animation: spin 120s linear infinite; }
.crumbs { font-size: .9rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); }
.flagbar { display: flex; width: 90px; height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 1.3rem; }
.flagbar i { flex: 1; }
@media (max-width: 720px) { .page-head .stars { width: 300px; height: 300px; right: -150px; opacity: .3; } }

/* Fact grid on country pages */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.fact { padding: 1.5rem; border-radius: var(--r-lg); background: var(--mist); }
.fact h3 { font-size: 1.05rem; font-family: var(--text); font-weight: 700; letter-spacing: 0; color: var(--ink-soft); margin-bottom: .5rem; }
.fact .big { font-family: var(--display); font-weight: 800; font-size: var(--step-2); color: var(--eu); line-height: 1.1; margin-bottom: .5rem; }
.fact p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.fact.hl { background: var(--eu); }
.fact.hl h3 { color: rgba(255,255,255,.75); }
.fact.hl .big { color: var(--gold); }
.fact.hl p { color: rgba(255,255,255,.85); }

.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: .4rem; margin: 0 0 1.2rem; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.aside-card { position: sticky; top: 92px; padding: 1.6rem; border-radius: var(--r-lg); background: var(--night); color: var(--white); }
.aside-card h3 { color: var(--white); }
.aside-card p { color: rgba(255,255,255,.8); font-size: .98rem; }
.aside-card ul { padding-left: 1.1rem; margin: 0 0 1.2rem; color: rgba(255,255,255,.85); font-size: .97rem; display: grid; gap: .35rem; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .aside-card { position: static; } }

.note { border-left: 4px solid var(--saffron); background: #fff7ef; padding: 1rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 1.5rem 0; }
.note p:last-child { margin: 0; }
.checked { font-size: .88rem; color: var(--ink-soft); margin-top: 2rem; }
.sources { font-size: .9rem; color: var(--ink-soft); }
.sources ul { padding-left: 1.1rem; display: grid; gap: .25rem; }

/* Compare table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .96rem; }
th, td { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--night); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
tbody th { font-weight: 700; color: var(--ink); background: var(--mist); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; }
.field .hint { font-size: .88rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: .8rem 1rem; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--white); min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--eu); outline: none; box-shadow: 0 0 0 4px rgba(0,51,153,.12); }
.form-msg { font-weight: 600; color: var(--eu); }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* Simple cards for levels / more countries */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin: 0; }
.card .flag { display: flex; height: 7px; width: 54px; border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.card .flag i { flex: 1; }

/* Footer */
.site-foot { background: var(--night); color: rgba(255,255,255,.78); padding: 4rem 0 2rem; font-size: .96rem; }
.site-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: .8rem; font-family: var(--text); letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.6); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal (one orchestrated entrance per section head, not every card) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .route { justify-self: center; max-width: 440px; margin-top: -.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
