/* EU Internship landing page - Europe Study Centre
   Brand: from euinternship.com (Plus Jakarta Sans, ESC navy, EU yellow).
   Layout: modelled on a single-event lead-gen page (ticker, hero + details card,
   host strip, offer cards, numbered outcomes, proof list, FAQ, closing card). */

:root {
  --navy: #202d7c;
  --navy-deep: #0c1b48;
  --navy-ink: #08153e;
  --blue: #1a56db;
  --blue-soft: #e8eef8;
  --yellow: #ffc72c;
  --yellow-deep: #f2b705;
  --red: #d81f27;
  --green: #25d366;
  --ink: #1a2238;
  --ink-2: #4a5676;
  --line: #dde5f2;
  --bg: #f7f9fd;
  --bg-2: #f4f7fc;
  --white: #fff;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 10px 30px rgba(12, 27, 72, .08);
  --shadow-lg: 0 24px 60px rgba(12, 27, 72, .16);
  --wrap: 1200px;
  --gut: clamp(16px, 3.4vw, 48px); /* same side spacing as the nav bar */
  --sec: clamp(64px, 9vw, 112px);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* one type scale for the whole page */
  --fs-h1: clamp(2rem, 3.9vw, 3.1rem);
  --fs-h2: clamp(1.7rem, 3.1vw, 2.5rem);
  --fs-h3: 1.15rem;
  --fs-sub: clamp(1rem, 1.2vw, 1.1rem);
  --fs-body: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; color: var(--navy-deep); }
p { margin: 0; }
/* Balanced text: headings and short centred lines split evenly, paragraphs avoid one-word last lines */
h1, h2, h3, .eyebrow, .pill, .section-sub, .programs-sub, .note-strong, .exp-foot p, .close-card p, .story-tag, .faq summary { text-wrap: balance; }
p, dd, li, .faq details p { text-wrap: pretty; }
a { color: var(--blue); }
svg { width: 1em; height: 1em; flex: none; }
button, input, select { font: inherit; }

.wrap { width: 100%; margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: calc(880px + var(--gut) * 2); }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--navy-ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type helpers ---------- */
.hl { color: var(--blue); }
.hl-y { color: var(--yellow); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .5; }
.eyebrow--light { color: var(--yellow); }
.eyebrow--left::after { display: none; }
section h2 { font-size: var(--fs-h2); font-weight: 800; }
.section-sub { max-width: 680px; margin: 16px auto 0; color: var(--ink-2); font-size: var(--fs-sub); }
.section-sub--light { color: rgba(255, 255, 255, .78); margin-left: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 30px; border-radius: 50px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--yellow); color: var(--navy-ink); box-shadow: 0 6px 18px rgba(255, 199, 44, .4); }
.btn--primary:hover { background: var(--yellow-deep); box-shadow: 0 10px 24px rgba(255, 199, 44, .5); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--ghost svg { width: 20px; height: 20px; }
.btn--ghost:hover svg { transform: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .92rem; }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy-ink); color: #fff; overflow: hidden; font-size: .84rem; font-weight: 600; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-list li { display: flex; align-items: center; gap: 10px; padding: 10px 28px; white-space: nowrap; }
.ticker-list svg { color: var(--yellow); width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header (matches euinternship.com nav) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 16px rgba(8, 21, 62, .25); }
.header-in { padding: 10px var(--gut); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 62px; }
.logo { flex: none; display: block; }
.logo img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 28px); margin-left: auto; }
.nav a { position: relative; color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; padding: 0 0 0 6px; }
.nav-divider { width: 1px; height: 28px; margin: 0 12px 0 0; background: rgba(255, 255, 255, .28); }
.round-btn { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; transition: transform .2s var(--ease); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { transform: translateY(-2px); }
.round-btn--call { background: #fecd2a; color: var(--navy); box-shadow: 0 3px 10px rgba(254, 205, 42, .25); }
.round-btn--wa { background: var(--green); color: #fff; box-shadow: 0 3px 10px rgba(37, 211, 102, .25); }
.phone-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 22px; border-radius: 50px; background: #fecd2a; color: var(--navy); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 10px rgba(254, 205, 42, .25); transition: transform .2s var(--ease); }
.phone-pill:hover { transform: translateY(-2px); }
.menu-toggle { display: none; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1.5px solid rgba(255, 211, 7, .9); border-radius: 10px; background: rgba(255, 255, 255, .17); cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2.5px; border-radius: 2px; background: #ffe980; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(calc(100svh - 112px), 860px); padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 72px); background: #fff; }
.hero-banner { position: absolute; z-index: -2; top: 0; right: 0; height: 100%; width: auto; max-width: none; animation: banner-in 1s var(--ease) both; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255, 255, 255, .85) 46%, rgba(255, 255, 255, 0) 62%); pointer-events: none; }
@keyframes banner-in { from { opacity: 0; transform: translateX(24px); } }

.hero-grid { position: relative; display: block; }
.hero-copy { max-width: 620px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1.5px solid #c9d6ef; background: #fff; border-radius: 50px; font-size: .86rem; font-weight: 700; color: var(--navy); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.hero h1 { margin-top: 20px; font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.hero h1 .hl { color: var(--blue); }
.lead { margin-top: 20px; font-size: var(--fs-sub); color: var(--ink-2); max-width: 560px; }
.lead strong { color: var(--navy-deep); }

.facts { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow); max-width: 600px; }
.facts-head { display: flex; white-space: nowrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.facts-label { background: var(--navy-ink); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.facts-free { color: #15803d; background: #dcfce7; border: 1px solid #86efac; font-size: .8rem; font-weight: 800; padding: 5px 12px; border-radius: 8px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; }
.facts-grid > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.facts-grid svg { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.facts-grid dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hero-community { margin-top: 26px; padding-left: 28px; padding-right: 32px; }
.facts-grid dd { margin: 0; font-weight: 700; color: var(--navy-deep); font-size: .95rem; line-height: 1.3; }

/* Hero entrance (once, on load) */
[data-enter] { animation: enter .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Hosts (logo marquee) ---------- */
.hosts { position: relative; overflow: hidden; padding: var(--sec) 0; background: #fff; }
.hosts-title { max-width: 900px; margin: 0 auto; }
.hosts-sub { max-width: 760px; }
.logo-marquee { margin: 44px 0 8px; overflow: hidden; }
.logo-track { display: flex; width: max-content; animation: marquee-q 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-row { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); margin: 0; padding: 0 clamp(24px, 3vw, 44px); list-style: none; }
.logo-row li { flex: none; display: flex; align-items: center; height: 80px; }
.logo-row img { width: auto; height: 64px; max-width: none; transition: transform .25s var(--ease); }
.logo-row li:hover img { transform: scale(1.04); }
.logo-row .logo-tuke { height: 52px; }
.logo-row .logo-ibs { height: 40px; }
.logo-row .logo-buckingham { height: 52px; }
.logo-row .logo-tu-liberec { height: 66px; }
@keyframes marquee-q { to { transform: translateX(-25%); } }
.note-strong { margin: 32px auto 28px; font-weight: 600; font-size: var(--fs-sub); color: var(--ink); max-width: 760px; }
.btn--wide { width: min(540px, 100%); }
.deco { position: absolute; fill: none; stroke: #9db6ea; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .6; pointer-events: none; }
.deco--cap { top: 56px; right: 6%; width: 100px; transform: rotate(8deg); }
.deco--book { bottom: -20px; left: 5%; width: 130px; transform: rotate(-12deg); }

/* ---------- Upcoming FREE internships (matches euinternship.com) ---------- */
.programs { padding: var(--sec) 0; background: #fff; }
.programs-panel { background: #1a3399; border-radius: 28px; padding: clamp(28px, 4vw, 48px) clamp(18px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px); }
.programs-title { color: #fff; font-size: var(--fs-h2); font-weight: 800; }
.programs-sub { margin-top: 14px; max-width: 680px; color: #e2e8f8; font-size: var(--fs-sub); font-weight: 500; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.card { display: flex; flex-direction: column; padding: 13px 13px 18px; background: #fff; border-radius: 20px; box-shadow: 0 10px 28px rgba(8, 21, 62, .22); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(8, 21, 62, .3); }
.card-media { position: relative; aspect-ratio: 4 / 3; margin-bottom: 14px; border-radius: 14px; overflow: hidden; background: var(--blue-soft); flex: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
/* Whole card opens 'For More Details' (stretched link); Enroll Now stays its own button */
.card { position: relative; }
.card.has-details { cursor: pointer; }
.card.has-details .card-more::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.card-enroll { position: relative; z-index: 2; }
.card.has-details:hover .card-more { color: #a8141b; border-bottom-color: #a8141b; gap: 12px; }
.badge { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1px; max-width: calc(100% - 20px); padding: 7px 13px 8px; border-radius: 8px; background: var(--yellow); color: #121212; line-height: 1.22; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); animation: badge-blink 1s ease-in-out infinite; }
.badge-lead, .badge-date { font-size: .9rem; font-weight: 900; white-space: nowrap; }
@keyframes badge-blink { 0%, 20% { opacity: 1; } 50% { opacity: .32; } 80%, 100% { opacity: 1; } }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 0 4px; }
.card h3 { margin-bottom: 10px; min-height: 2.6em; color: #0d1e4c; font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; letter-spacing: -.2px; overflow-wrap: break-word; }
.card h3 small { display: block; margin-top: 2px; color: var(--blue); font-size: .78em; font-weight: 700; }
.card-host { display: flex; align-items: flex-start; gap: 8px; min-height: 2.6em; margin-bottom: 18px; color: #556987; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.card-host svg { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.card-more { display: inline-flex; align-items: center; align-self: center; gap: 8px; margin: auto 0 18px; padding: 4px 2px; color: #d81f27; font-size: .82rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid rgba(216, 31, 39, .22); transition: color .2s, border-color .2s, gap .2s; }
.card-more svg { width: 15px; height: 15px; }
.card-more:hover, .card-more:focus-visible { color: #a8141b; border-bottom-color: #a8141b; gap: 12px; }
.card-enroll { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: auto; padding: 10px 18px; border-radius: 50px; background: var(--yellow); color: #08153e; font-size: 1.15rem; font-weight: 800; text-decoration: none; box-shadow: 0 4px 12px rgba(255, 199, 44, .32); transition: background-color .25s, box-shadow .25s, transform .25s; }
.card-more + .card-enroll { margin-top: 0; }
.card-enroll svg { width: 18px; height: 18px; transition: transform .25s; }
.card-enroll:hover { background: #f2b918; color: #06112d; box-shadow: 0 6px 18px rgba(255, 199, 44, .5); transform: translateY(-1px); }
.card-enroll:hover svg { transform: translateX(4px); }

/* ---------- Experience ---------- */
.experience { padding: var(--sec) 0; background: #fff; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.steps li { display: flex; gap: 20px; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .25s var(--ease), box-shadow .25s; }
.steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.steps h3 { font-size: var(--fs-h3); font-weight: 800; }
.steps p { margin-top: 8px; color: var(--ink-2); }
.exp-foot { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.exp-foot p { font-weight: 600; color: var(--navy-deep); font-size: var(--fs-sub); max-width: 620px; }

/* ---------- Why ESC ---------- */
.why { padding: var(--sec) 0; background: var(--bg-2); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 48px); margin-top: 48px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.why-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--yellow); }
.why-ico svg { width: 20px; height: 20px; }
.why-list h3 { font-size: var(--fs-h3); font-weight: 800; }
.why-list p { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-body); }
.stat { align-self: center; white-space: nowrap; font-size: .82rem; font-weight: 800; color: var(--navy); background: #fff7da; border: 1px solid #ffe28a; padding: 8px 12px; border-radius: 10px; }
.why-side { display: grid; gap: 16px; }
.badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 50px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: .86rem; }
.assure { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.assure h3 { font-size: var(--fs-h3); font-weight: 800; }
.assure p { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-body); }
.assure a { font-weight: 700; }

/* ---------- Student stories (video) ---------- */
.stories { padding: var(--sec) 0; background: #fff; }
.story-grid { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.story { display: flex; flex-direction: column; gap: 12px; }
.story-tag { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 800; color: var(--navy-deep); line-height: 1.3; }
.story-tag img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.story-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-ink); box-shadow: 0 8px 24px rgba(12, 27, 72, .12); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.story-media:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.story-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; width: 100%; border: 0; padding: 0 0 18px; background: linear-gradient(180deg, transparent 65%, rgba(8, 21, 62, .45)); cursor: pointer; }
.story-play svg { width: 60px; height: 60px; padding: 16px 14px 16px 18px; border-radius: 50%; background: var(--yellow); color: var(--navy-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.story-play:hover svg { transform: scale(1.08); }
/* Video player: fills the screen, video scaled to fit (no crop) */
.video-modal { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(5, 12, 38, .94); overflow: hidden; }
.video-modal[open] { display: flex; align-items: center; justify-content: center; }
.video-modal::backdrop { background: rgba(5, 12, 38, .94); }
.video-player { display: block; width: min(94vw, 720px, calc((100dvh - 96px) * .8)); height: auto; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 16px; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
@supports not (height: 100dvh) { .video-player { width: min(94vw, 720px, calc((100vh - 96px) * .8)); } }
.video-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.video-close:hover { background: rgba(255, 255, 255, .28); }

.advisor { background: linear-gradient(150deg, var(--navy-deep), var(--navy)); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); }
.advisor-kicker { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.advisor h3 { margin-top: 10px; color: #fff; font-size: 1.3rem; font-weight: 800; }
.advisor > p:not(.advisor-kicker) { margin-top: 10px; color: rgba(255, 255, 255, .8); }
.advisor-actions { display: grid; gap: 12px; margin-top: 22px; }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #1fbe5b; }
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }

/* ---------- Schengen ---------- */
.schengen { position: relative; overflow: hidden; padding: var(--sec) 0 calc(var(--sec) * .75); background: linear-gradient(135deg, var(--navy-ink) 0%, var(--navy) 100%); color: #fff; }
.schengen h2 { color: #fff; }
.schengen-map { position: absolute; right: -8%; top: 50%; width: min(70vw, 900px); transform: translateY(-50%); opacity: .12; pointer-events: none; }
.schengen-grid { position: relative; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.big-stat { text-align: center; }
.big-stat span { display: block; font-size: clamp(6rem, 14vw, 10rem); font-weight: 800; line-height: .9; color: var(--yellow); letter-spacing: -.05em; }
.big-stat small { font-size: .9rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.flags { position: relative; margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.flags-track { display: flex; gap: 12px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 60s linear infinite; }
.flags:hover .flags-track { animation-play-state: paused; }
.flags-track li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 50px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.flags-track img { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; }

/* ---------- FAQ + closing ---------- */
.faq { padding: var(--sec) 0; background: #fff; }
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); transition: box-shadow .2s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 22px; font-weight: 700; color: var(--navy-deep); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.25rem; font-weight: 700; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

.close-card { position: relative; overflow: hidden; margin-top: 72px; padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px) clamp(120px, 14vw, 170px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; text-align: center; }
.close-card h2 { color: #fff; font-size: var(--fs-h2); position: relative; }
.close-card p { position: relative; margin: 16px auto 0; max-width: 560px; color: rgba(255, 255, 255, .8); }
.close-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.close-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(100px, 14vw, 160px); opacity: .5; pointer-events: none; }

/* ---------- Contact + footer ---------- */
.contact { position: relative; overflow: hidden; padding: var(--sec) 0; background: linear-gradient(160deg, var(--navy) 0%, #1a3fb8 100%); color: #fff; }
.contact h2 { color: #fff; }
.contact-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; opacity: .6; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-cards a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; min-height: 72px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.contact-cards a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); }
.contact-cards strong { display: block; font-size: 1.05rem; }
.contact-cards small { color: rgba(255, 255, 255, .7); }
.c-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.c-ico svg { width: 20px; height: 20px; }
.c-ico--y { background: var(--yellow); color: var(--navy-ink); }
.c-ico--g { background: var(--green); color: #fff; }
.c-arrow { margin-left: auto; width: 18px; height: 18px; opacity: .7; transition: transform .2s var(--ease); }
.contact-cards a:hover .c-arrow { transform: translateX(3px); }
.footer { background: var(--navy-ink); color: rgba(255, 255, 255, .7); font-size: .86rem; padding: 22px 0 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer a { color: #fff; }

/* ---------- Floating call / WhatsApp ---------- */
.float { position: fixed; bottom: 24px; z-index: 55; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.float svg { width: 28px; height: 28px; }
.float:hover { transform: translateY(-2px) scale(1.04); }
.float--wa { right: 20px; background: var(--green); color: #fff; }
.float--call { left: 20px; background: var(--yellow); color: var(--navy-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav a { font-size: .92rem; }
  .phone-pill { padding: 8px 16px; font-size: .9rem; }
  .logo img { height: 54px; }
}
@media (max-width: 1100px) {
  .header-row { flex-wrap: wrap; row-gap: 10px; }
  .nav, .nav-divider { display: none; }
  .menu-toggle { display: flex; order: 2; }
  .round-btn { width: 44px; height: 44px; }
  .header-cta { gap: 12px; }
  .header-cta { order: 1; margin-left: auto; padding: 0; }
  .mobile-nav { flex-direction: column; margin: 12px 0 6px; padding: 14px 18px 18px; border-radius: 16px; background: #1a205d; border: 1px solid rgba(255, 255, 255, .12); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 11px 4px; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .mobile-nav a:last-child { border-bottom: 0; }
  .mobile-nav a:hover { color: var(--yellow); }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 150px; }
  .logo img { height: 50px; }
  .header-cta { order: 3; width: 100%; justify-content: center; margin-left: 0; gap: 12px; }
  .phone-pill { min-height: 44px; padding: 7px 18px; font-size: .92rem; }
  .mobile-nav { order: 4; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .hero-banner { right: calc((1280px - 100vw) * -0.55); }
  .hero::before { background: linear-gradient(90deg, #fff 0%, #fff 44%, rgba(255, 255, 255, .85) 54%, rgba(255, 255, 255, 0) 70%); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .hero-copy { max-width: 500px; }
  .hero h1 { font-size: clamp(2rem, 3.8vw, 2.6rem); }
  .hero::before { background: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255, 255, 255, .85) 58%, rgba(255, 255, 255, 0) 74%); }
}@media (max-width: 1080px) {
  .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .contact-grid, .schengen-grid { grid-template-columns: 1fr; }
  .facts { max-width: none; }
  /* mobile: content sits on the map banner (as on euinternship.com) */
  .hero { min-height: 0; padding: clamp(36px, 9vw, 64px) 0 clamp(44px, 10vw, 72px); }
  .hero-banner { top: 0; right: 0; height: 100%; width: auto; opacity: .3; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, .85) 100%); }
  .hero-copy { max-width: 560px; }
  .hero h1 { margin-top: 16px; }
  .lead { margin-top: 16px; }
  .facts { background: rgba(255, 255, 255, .96); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big-stat { text-align: left; display: flex; align-items: baseline; gap: 16px; }
  .why-side { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .facts { padding: 16px; margin-top: 22px; }
  .facts-head { margin-bottom: 12px; }
  .facts-grid { gap: 12px 14px; }
  .facts-grid > div { display: block; }
  .facts-grid svg { display: none; }
  .facts-grid dd { font-size: .9rem; }
  .program-grid { grid-template-columns: 1fr; }
  .story-grid { display: flex; gap: 14px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .story-grid::-webkit-scrollbar { display: none; }
  .story { flex: 0 0 78%; scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 22px; }
  .why-list li { grid-template-columns: 44px 1fr; }
  .why-list .stat { grid-column: 2; justify-self: start; }
  .logo-row img { height: 46px; }
  .logo-row .logo-tuke, .logo-row .logo-buckingham { height: 38px; }
  .logo-row .logo-ibs { height: 30px; }
  .logo-row .logo-tu-liberec { height: 48px; }
  .logo-row li { height: 60px; }
  .logo-marquee { margin-top: 32px; }
  .deco--cap { width: 64px; top: 28px; right: 4%; }
  .deco--book { width: 90px; }
  .eyebrow::before, .eyebrow::after { width: 16px; }
  .btn { width: 100%; }

  .footer-row { flex-direction: column; }
}
@media (max-width: 420px) {
  .hero-community { padding-left: 16px; padding-right: 16px; font-size: .95rem; white-space: nowrap; }
}
@media (max-width: 340px) {
  .hero-community { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .logo-track { width: auto; justify-content: center; }
  .logo-row { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .logo-row[aria-hidden="true"] { display: none; }
}
