:root {
  --navy: #062f66;
  --navy-deep: #031d43;
  --blue: #1168d9;
  --sky: #36bdf2;
  --ice: #eef8ff;
  --peach: #ffd9c9;
  --peach-strong: #ff9f78;
  --cream: #fff9f3;
  --warm: #fff1df;
  --ink: #07182f;
  --muted: #52657c;
  --white: #ffffff;
  --line: rgba(6, 47, 102, 0.12);
  --shadow: 0 24px 70px rgba(6, 47, 102, 0.14);
  --shadow-soft: 0 14px 38px rgba(6, 47, 102, 0.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: linear-gradient(180deg, #fffaf6 0%, #fff 100%); }
.section-blue {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(54,189,242,.28), transparent 30%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.section-warm { background: linear-gradient(135deg, #fff8ef, #ffe7ca); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(6,47,102,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; }
.brand img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(6,47,102,.16);
}
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: 1.05rem; color: var(--navy-deep); }
.brand-copy small { font-size: .72rem; color: var(--navy); margin-top: 5px; white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: 24px; font-size: .92rem; font-weight: 650; }
.primary-nav > a:not(.nav-cta) { position: relative; padding: 29px 0 26px; }
.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
.primary-nav > a:not(.nav-cta):hover::after,
.primary-nav > a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(3,29,67,.18);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/01_traveler_salzburg_view.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.90) 34%, rgba(255,255,255,.28) 62%, rgba(2,28,65,.12) 100%),
    linear-gradient(0deg, rgba(4,32,70,.1), transparent 35%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 620px) 1fr; align-items: center; min-height: 720px; }
.hero-copy { padding: 70px 0; }
.eyebrow {
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow-light { color: var(--navy); }
.hero h1,
.section-heading h2,
.section-copy h2,
.study-header h2,
.work-copy h2,
.feature-copy h2,
.jobs-copy h2,
.visa-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.055em;
  color: var(--navy-deep);
}
.hero h1 span { color: var(--blue); display: block; }
.hero-kicker { margin: 24px 0 10px; font-weight: 800; font-size: 1.35rem; color: var(--navy-deep); }
.hero-text { max-width: 570px; margin: 0; font-size: 1.05rem; color: #1c2c40; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #0a50b7); box-shadow: 0 12px 26px rgba(17,104,217,.25); }
.button-dark { color: var(--white); background: var(--navy-deep); box-shadow: 0 12px 26px rgba(3,29,67,.18); }
.button-light { color: var(--navy-deep); background: var(--white); box-shadow: 0 12px 26px rgba(255,255,255,.16); }
.button-ghost { color: var(--navy-deep); border: 1px solid rgba(6,47,102,.22); background: rgba(255,255,255,.74); }
.button-full { width: 100%; }
.hero-note {
  justify-self: end;
  align-self: end;
  margin-bottom: 64px;
  padding: 18px 24px 20px;
  color: var(--white);
  text-align: center;
  transform: rotate(-5deg);
  text-shadow: 0 2px 12px rgba(0,0,0,.32);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.2;
}
.hero-note span { display: block; }

.section-heading { max-width: 720px; }
.section-heading.centered { margin: 0 auto 48px; text-align: center; }
.section-heading h2,
.section-copy h2,
.study-header h2,
.work-copy h2,
.feature-copy h2,
.jobs-copy h2,
.visa-copy h2,
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.section-heading p:last-child { color: var(--muted); font-size: 1.08rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(9,43,87,.10);
  border-radius: var(--radius-lg);
  background: #e8f1f8;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.service-card-media .carousel-track,
.service-card-media .carousel-slide { width: 100%; height: 100%; }
.service-card-media .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 6s ease;
}
.service-card:hover .service-card-media .carousel-slide.is-active img { transform: scale(1.08); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(1,20,50,.06) 8%, rgba(1,20,50,.20) 42%, rgba(1,20,50,.92) 100%);
}
.service-card-content {
  position: relative;
  z-index: 2;
  min-height: 280px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.service-number {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(3,29,67,.38);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .14em;
}
.service-card h3 {
  margin: 0 58px 8px 0;
  font-size: 1.8rem;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.service-card p {
  margin: 0;
  max-width: 290px;
  color: rgba(255,255,255,.90);
  text-shadow: 0 1px 8px rgba(0,0,0,.22);
}
.service-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  background: rgba(3,29,67,.78);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
}

.split-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--peach);
  color: #7d3218;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pill-light { background: rgba(255,255,255,.17); color: var(--white); border: 1px solid rgba(255,255,255,.24); }
.section-copy h3 { margin: 22px 0 8px; color: var(--navy-deep); }
.section-copy > p:not(.pill) { color: var(--muted); max-width: 610px; }
.section-copy > .button { margin-top: 12px; }

.language-visual { position: relative; min-height: 650px; }
.language-visual > img {
  width: 78%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.cefr-card {
  position: absolute;
  right: 0;
  top: 54px;
  width: min(360px, 62%);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.cefr-card h3 { margin: 0 0 14px; color: var(--navy-deep); }
.level-list { display: grid; gap: 6px; }
.level-item {
  width: 100%;
  border: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.level-item span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #eef3f9; font-weight: 900; }
.level-item strong { font-size: .9rem; color: var(--navy-deep); }
.level-item.active { background: var(--ice); }
.level-item.active span { background: var(--blue); color: var(--white); }
.level-description { min-height: 48px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

.mini-quiz {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.mini-quiz > div:first-child { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.quiz-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; color: var(--blue); }
.mini-quiz h3 { margin: 0; }
#quiz-word { margin: 18px 0 12px; font-size: 1.35rem; font-weight: 850; color: var(--navy-deep); }
.quiz-buttons { display: flex; gap: 8px; }
.quiz-buttons button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #f8fbff; cursor: pointer; font-weight: 800; }
.quiz-buttons button:hover { background: var(--ice); }
.quiz-feedback { margin: 12px 0 0; min-height: 24px; font-weight: 700; color: var(--blue); }

.study { background: linear-gradient(180deg, #f7fcff, #fff); }
.study-header { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.study-header > p { max-width: 360px; margin: 0 0 8px; color: var(--muted); font-size: 1.1rem; }
.destination-tabs { display: inline-flex; gap: 8px; padding: 6px; margin-bottom: 26px; border-radius: 999px; background: #edf6fd; }
.destination-tab { border: 0; border-radius: 999px; padding: 10px 16px; background: transparent; color: var(--navy); font-weight: 800; cursor: pointer; }
.destination-tab.active { background: var(--navy-deep); color: var(--white); }
.study-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.destination-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.destination-card img { height: 190px; object-fit: cover; }
.destination-card > div { padding: 20px; }
.destination-country { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.destination-card h3 { min-height: 58px; margin: 8px 0; color: var(--navy-deep); line-height: 1.16; }
.destination-card p { color: var(--muted); font-size: .93rem; }
.text-link { border: 0; padding: 0; background: transparent; color: var(--blue); font-weight: 850; cursor: pointer; }
.destination-card.is-muted { opacity: .46; filter: saturate(.55); transform: scale(.985); }
.study-map-card {
  grid-column: 1 / -1;
  margin-top: 12px;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}
.study-map-card > img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.map-copy { display: flex; flex-direction: column; justify-content: center; padding: 46px; }
.hand-note { font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 1.2rem; color: #bcecff; transform: rotate(-2deg); }
.map-copy h3 { margin: 8px 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.map-copy p { color: rgba(255,255,255,.78); }
.map-copy .button { align-self: flex-start; margin-top: 8px; background: var(--white); color: var(--navy-deep); }

.work-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 50px; align-items: center; }
.work-copy h2 { color: var(--white); }
.work-copy > p:not(.pill) { color: rgba(255,255,255,.78); max-width: 590px; }
.work-options { display: grid; gap: 12px; margin-top: 34px; }
.work-option {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  background: rgba(255,255,255,.96);
  color: var(--navy-deep);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.work-option:hover { transform: translateX(6px); background: var(--white); }
.work-option span:nth-child(2) { display: grid; }
.work-option small { margin-top: 3px; color: var(--muted); }
.work-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--ice); }
.work-image img { height: 560px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: 0 26px 70px rgba(0,0,0,.22); }

.image-feature { display: grid; grid-template-columns: 1.03fr .97fr; gap: 58px; align-items: center; }
.feature-image img { height: 620px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.feature-copy .feature-lead { font-size: 1.25rem; font-weight: 800; color: var(--navy-deep); }
.feature-copy > p:not(.pill) { color: var(--muted); }
.prompt-card,
.notice-card { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f9fcff; }
.prompt-card strong,
.notice-card strong { color: var(--navy-deep); }
.prompt-card p,
.notice-card p { margin: 6px 0 0; color: var(--muted); font-size: .94rem; }

.jobs-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.jobs-copy > p:not(.pill) { color: var(--muted); max-width: 520px; }
.jobs-image img { height: 580px; object-fit: cover; object-position: center top; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.notice-card { background: rgba(255,255,255,.7); }

.visa { padding-top: 85px; padding-bottom: 85px; background: #edf8ff; }
.visa-card {
  min-height: 560px;
  border-radius: 38px;
  overflow: hidden;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  color: var(--white);
  background: linear-gradient(135deg, #0c4b8c, #062f66);
  box-shadow: var(--shadow);
}
.visa-copy { display: flex; flex-direction: column; justify-content: center; padding: 60px; }
.visa-copy h2 { color: var(--white); }
.visa-copy > p:not(.pill) { color: rgba(255,255,255,.8); max-width: 520px; }
.visa-copy .button { align-self: flex-start; margin-top: 12px; }
.visa-image { position: relative; overflow: hidden; }
.visa-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,102,.58), transparent 40%); pointer-events: none; }
.visa-image img { height: 100%; min-height: 560px; object-fit: cover; }

.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-copy > p:last-of-type { color: var(--muted); font-size: 1.1rem; }
.contact-image-wrap { margin-top: 30px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-soft); }
.contact-image-wrap img { height: 280px; object-fit: cover; }
.inquiry-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fbfdff; box-shadow: var(--shadow-soft); }
.form-field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-field label { color: var(--navy-deep); font-size: .86rem; font-weight: 850; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #ccdae8;
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17,104,217,.10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.checkbox-field input { margin-top: 4px; }
.form-status { min-height: 26px; margin: 12px 0 0; font-weight: 800; color: var(--blue); }
.form-note { margin: 4px 0 0; color: #74859a; font-size: .78rem; }

.site-footer { padding: 42px 0; color: rgba(255,255,255,.8); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; align-items: center; }
.brand-footer .brand-copy strong,
.brand-footer .brand-copy small { color: var(--white); }
.brand-footer img { box-shadow: none; border: 1px solid rgba(255,255,255,.15); }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.social-link {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-link:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); }
.social-icon { display: block; font-weight: 900; font-size: 1.14rem; line-height: 1; }
.social-icon-whatsapp { font-size: 1.2rem; transform: rotate(-12deg); }
.social-icon-tiktok { font-size: 1.5rem; }
.social-icon-linkedin { font-family: Arial, sans-serif; letter-spacing: -.06em; }
.social-icon-facebook { font-family: Arial, sans-serif; font-size: 1.45rem; }
.footer-email { margin-left: 4px; color: #bcecff; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.footer-email:hover { color: #fff; }
.contact-email { margin-top: -4px !important; font-size: .98rem !important; }
.contact-email a { color: var(--blue); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { margin: 0; font-size: .84rem; text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(54,189,242,.65); outline-offset: 3px; }

@media (max-width: 1080px) {
  :root { --container: min(100% - 32px, 980px); }
  .primary-nav { gap: 16px; font-size: .84rem; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; }
  .language-layout { gap: 34px; }
  .language-visual { min-height: 570px; }
  .language-visual > img { height: 540px; }
  .study-grid { grid-template-columns: repeat(2, 1fr); }
  .study-grid .destination-card:last-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; }
  .study-grid .destination-card:last-of-type img { height: 100%; min-height: 240px; }
  .work-layout, .image-feature, .jobs-layout, .contact-layout { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer p { text-align: left; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .section { padding: 82px 0; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 44px; height: 44px; border-radius: 12px; }
  .brand-copy small { display: block; font-size: .64rem; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 45px;
    height: 45px;
    place-content: center;
    border: 0;
    border-radius: 14px;
    background: #eef5fb;
    cursor: pointer;
  }
  .menu-toggle span { width: 22px; height: 2px; background: var(--navy-deep); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .primary-nav.open { display: grid; gap: 4px; }
  .primary-nav > a:not(.nav-cta) { padding: 11px 10px; border-radius: 10px; }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .primary-nav > a:not(.nav-cta):hover { background: var(--ice); }
  .nav-cta { margin-top: 6px; text-align: center; }

  .hero { min-height: 680px; align-items: end; }
  .hero-bg { background-position: 60% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.8) 32%, rgba(255,255,255,.98) 64%, #fff 100%); }
  .hero-inner { min-height: 680px; grid-template-columns: 1fr; align-content: end; }
  .hero-copy { padding: 290px 0 58px; }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .hero-note { display: none; }
  .hero-text { font-size: 1rem; }

  .study-header { display: grid; align-items: start; }
  .destination-tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .destination-tab { padding-inline: 9px; font-size: .86rem; }
  .study-grid { grid-template-columns: 1fr; }
  .study-grid .destination-card:last-of-type { grid-column: auto; display: block; }
  .study-grid .destination-card:last-of-type img { height: 190px; min-height: 0; }
  .study-map-card { grid-template-columns: 1fr; }
  .study-map-card > img { min-height: 300px; }

  .work-layout, .image-feature, .jobs-layout, .contact-layout { grid-template-columns: 1fr; }
  .work-image { order: -1; }
  .work-image img, .feature-image img, .jobs-image img { height: 440px; }
  .visa-card { grid-template-columns: 1fr; }
  .visa-copy { padding: 42px 30px; }
  .visa-image { min-height: 380px; }
  .visa-image img { min-height: 380px; }
  .visa-image::after { background: linear-gradient(180deg, rgba(6,47,102,.6), transparent 42%); }
  .contact-image-wrap img { height: 230px; }
  .footer-social { gap: 10px; }
}

@media (max-width: 580px) {
  :root { --container: calc(100% - 24px); }
  .section { padding: 68px 0; }
  .brand-copy small { display: none; }
  .hero { min-height: 640px; }
  .hero-inner { min-height: 640px; }
  .hero-copy { padding-top: 250px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-content { min-height: 230px; }
  .service-card h3 { font-size: 1.55rem; }
  .language-visual { min-height: auto; display: grid; gap: 16px; }
  .language-visual > img { width: 100%; height: 400px; }
  .cefr-card { position: static; width: 100%; }
  .mini-quiz > div:first-child { display: grid; gap: 4px; }
  .destination-tabs { overflow-x: auto; display: flex; border-radius: 16px; }
  .destination-tab { flex: 0 0 auto; }
  .map-copy { padding: 28px; }
  .work-image img, .feature-image img, .jobs-image img { height: 360px; }
  .work-option { grid-template-columns: 42px 1fr; }
  .work-option > span:last-child { display: none; }
  .visa-card { border-radius: 28px; }
  .visa-copy { padding: 34px 24px; }
  .visa-image { min-height: 320px; }
  .visa-image img { min-height: 320px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-form { padding: 22px; border-radius: 24px; }
  .footer-grid { text-align: left; }
}

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

/* ===== Launch refinement pass ===== */
.site-header .nav-wrap { min-height: 98px; }
.brand { gap: 15px; min-width: 285px; }
.brand img {
  width: 70px;
  height: 70px;
  border-radius: 18px;
}
.brand-copy strong { font-size: 1.22rem; }
.brand-copy small { font-size: .78rem; }
.primary-nav > a:not(.nav-cta) { padding-top: 36px; padding-bottom: 33px; }
.primary-nav > a:not(.nav-cta)::after { bottom: 27px; }
.nav-cta { padding: 14px 21px; }

.hero { min-height: 810px; }
.hero-inner { min-height: 810px; grid-template-columns: minmax(0, 690px) 1fr; }
.hero-bg {
  transform: scale(1.11);
  background-position: center 47%;
}
.hero h1 { font-size: clamp(3.5rem, 6.8vw, 6.5rem); }
.hero-copy { padding: 92px 0; }
.hero-kicker { font-size: 1.5rem; }
.hero-text { max-width: 620px; font-size: 1.1rem; }

.service-card h3 { font-size: 1.85rem; }
.pill {
  min-height: 42px;
  padding: 8px 17px;
  font-size: .93rem;
  letter-spacing: .075em;
  box-shadow: 0 8px 18px rgba(255,159,120,.18);
}
.pill-light {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: none;
}

/* Reusable 5-second banner carousel */
.media-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #dfeaf4;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .75s ease, transform 1.15s ease;
  pointer-events: none;
}
.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.media-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}
.carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(3,29,67,.56);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.carousel-control:hover { background: rgba(3,29,67,.82); }
.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }
.carousel-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(3,29,67,.34);
  backdrop-filter: blur(8px);
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dot.is-active { width: 26px; border-radius: 999px; background: #fff; }
.carousel-caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 58px;
  display: grid;
  gap: 4px;
  max-width: 440px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(3,29,67,.9), rgba(6,47,102,.72));
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.carousel-caption span {
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #bcecff;
}
.carousel-caption strong { font-size: 1.45rem; line-height: 1.1; }

.language-visual { min-height: 690px; }
.language-visual > .media-carousel {
  width: 82%;
  height: 650px;
}
.language-visual .cefr-card { top: 62px; }

.study-banner {
  height: 500px;
  margin: 0 0 30px;
}
.study-banner .carousel-slide img { object-position: center 45%; }

.work-image { min-height: 620px; }
.work-image .media-carousel { height: 620px; }
.feature-image { min-height: 640px; }
.feature-image .media-carousel { height: 640px; }
.jobs-image { min-height: 620px; }
.jobs-image .media-carousel { height: 620px; }
.jobs-carousel .carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2,22,50,.58) 100%);
  z-index: 1;
  pointer-events: none;
}
.visa-card { min-height: 620px; }
.visa-image { min-height: 620px; }
.visa-image .media-carousel { height: 100%; min-height: 620px; border-radius: 0; box-shadow: none; }
.visa-image::after { z-index: 2; }
.visa-image .carousel-control,
.visa-image .carousel-dots { z-index: 4; }

.field-prompt {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .brand { min-width: 0; }
  .brand img { width: 62px; height: 62px; }
  .primary-nav { gap: 15px; font-size: .84rem; }
  .nav-cta { padding-inline: 16px; }
}

@media (max-width: 1080px) {
  .site-header .nav-wrap { min-height: 90px; }
  .hero, .hero-inner { min-height: 760px; }
  .language-visual > .media-carousel { width: 80%; height: 590px; }
  .language-visual { min-height: 620px; }
  .study-banner { height: 440px; }
}

@media (max-width: 820px) {
  .site-header .nav-wrap { min-height: 82px; }
  .brand img { width: 56px; height: 56px; }
  .brand-copy strong { font-size: 1.08rem; }
  .hero, .hero-inner { min-height: 730px; }
  .hero-copy { padding: 320px 0 64px; }
  .hero-bg { transform: scale(1.07); background-position: 60% center; }
  .language-visual { min-height: auto; display: grid; gap: 16px; }
  .language-visual > .media-carousel { width: 100%; height: 520px; }
  .language-visual .cefr-card { position: static; width: 100%; }
  .study-banner { height: 390px; }
  .work-image, .feature-image, .jobs-image { min-height: 0; }
  .work-image .media-carousel,
  .feature-image .media-carousel,
  .jobs-image .media-carousel { height: 500px; }
  .visa-card, .visa-image, .visa-image .media-carousel { min-height: 470px; }
}

@media (max-width: 580px) {
  .brand img { width: 52px; height: 52px; border-radius: 14px; }
  .hero, .hero-inner { min-height: 680px; }
  .hero-copy { padding-top: 285px; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 4.8rem); }
  .pill { min-height: 38px; padding: 7px 14px; font-size: .82rem; }
  .service-card h3 { font-size: 1.62rem; }
  .language-visual > .media-carousel,
  .work-image .media-carousel,
  .feature-image .media-carousel,
  .jobs-image .media-carousel { height: 390px; }
  .study-banner { height: 330px; }
  .visa-card, .visa-image, .visa-image .media-carousel { min-height: 360px; }
  .carousel-control { width: 42px; height: 42px; font-size: 1.6rem; }
  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }
  .carousel-caption { left: 16px; right: 16px; bottom: 52px; padding: 14px 16px; }
  .carousel-caption strong { font-size: 1.16rem; }
}

/* ===== v4 refinements: Chapter hero, CEFR quizzes, study countries, connection map, social icons ===== */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #dce8f2;
}
.hero-media .carousel-track,
.hero-media .carousel-slide { width: 100%; height: 100%; }
.hero-media .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.04);
  transition: transform 6.5s ease;
}
.hero-media .carousel-slide.is-active img { transform: scale(1.1); }
.hero-overlay { z-index: 1; pointer-events: none; }
.hero-inner { z-index: 2; }
.hero-dots {
  left: auto;
  right: clamp(22px, 5vw, 72px);
  bottom: 30px;
  transform: none;
  z-index: 3;
}

/* Language section now focuses on CEFR levels instead of a photo carousel. */
.language-layout { align-items: start; }
.language-visual {
  min-height: 0 !important;
  display: block !important;
}
.language-visual > .cefr-card,
.language-visual .cefr-card {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
}
.cefr-card-expanded {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(54,189,242,.16), transparent 34%),
    #fff;
}
.cefr-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.cefr-card-expanded > h3 {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}
.cefr-card-expanded .level-list {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
}
.cefr-card-expanded .level-item {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid transparent;
  background: #f8fbff;
}
.cefr-card-expanded .level-item:hover { border-color: rgba(17,104,217,.2); }
.cefr-card-expanded .level-item.active { border-color: rgba(17,104,217,.18); }
.cefr-card-expanded .level-description {
  margin-top: 20px;
  min-height: 0;
  font-size: .96rem;
}

.expanded-quiz { padding: 26px; }
.quiz-head,
.level-quiz-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.quiz-progress {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}
.quiz-question {
  margin: 22px 0 14px !important;
  font-size: 1.18rem !important;
  line-height: 1.35;
}
.quiz-buttons,
.level-quiz-options { display: flex; flex-wrap: wrap; gap: 9px; }
.quiz-buttons button,
.level-quiz-options button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: #f8fbff;
  color: var(--navy-deep);
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.quiz-buttons button:hover:not(:disabled),
.level-quiz-options button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--ice);
  border-color: rgba(17,104,217,.28);
}
.quiz-buttons button:disabled,
.level-quiz-options button:disabled { cursor: default; opacity: .72; }
.quiz-buttons button.is-correct,
.level-quiz-options button.is-correct {
  border-color: #2e9f68;
  background: #eaf8f0;
  color: #17623f;
  opacity: 1;
}
.quiz-buttons button.is-wrong,
.level-quiz-options button.is-wrong {
  border-color: #d97878;
  background: #fff0f0;
  color: #8a3030;
  opacity: 1;
}
.quiz-next,
.level-quiz-head button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 850;
}
.quiz-next { margin-top: 8px; padding: 8px 0 0; }
.level-quiz {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4faff, #fff8f2);
  border: 1px solid var(--line);
}
.level-quiz-head span {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.level-quiz h4 {
  margin: 14px 0 14px;
  color: var(--navy-deep);
  font-size: 1.08rem;
  line-height: 1.35;
}
.level-quiz-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--blue);
  font-weight: 750;
}

/* Study carousel now explicitly showcases Austria, Germany, Switzerland and the EU. */
.study-banner .country-slide-label {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 28px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(3,29,67,.72);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .03em;
}
.study-banner .carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3,29,67,.28) 100%);
  pointer-events: none;
}
.destination-tabs { flex-wrap: wrap; }
.study-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.destination-card h3 { min-height: 78px; }

/* Connection Map visual */
.study-map-card { grid-template-columns: 1.15fr .85fr; }
.connection-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  background: #d9e9f5;
}
.connection-map > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.03);
}
.connection-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3,29,67,.08), rgba(17,104,217,.03));
  pointer-events: none;
}
.connection-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.connection-lines path {
  fill: none;
  stroke: #fff;
  stroke-width: .75;
  stroke-linecap: round;
  stroke-dasharray: 2 2.8;
  filter: drop-shadow(0 2px 3px rgba(3,29,67,.35));
  animation: connectionDash 9s linear infinite;
}
.connection-lines circle {
  fill: #1168d9;
  stroke: #fff;
  stroke-width: .7;
  filter: drop-shadow(0 2px 3px rgba(3,29,67,.35));
}
@keyframes connectionDash { to { stroke-dashoffset: -32; } }
.map-node {
  position: absolute;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3,29,67,.82);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 7px 18px rgba(3,29,67,.22);
  font-size: .68rem;
  font-weight: 850;
  backdrop-filter: blur(7px);
}
.node-austria { left: 54%; top: 61%; }
.node-germany { left: 45%; top: 34%; }
.node-switzerland { left: 33%; top: 65%; }
.node-eu-west { left: 20%; top: 56%; }
.node-eu-east { right: 12%; top: 55%; }

/* Real locally hosted brand icons */
.social-link { overflow: hidden; }
.social-svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.social-instagram:hover { background: rgba(225,48,108,.34); }
.social-tiktok:hover { background: rgba(37,244,238,.2); }
.social-facebook:hover { background: rgba(24,119,242,.35); }
.social-whatsapp:hover { background: rgba(37,211,102,.3); }
.social-linkedin:hover { background: rgba(10,102,194,.34); }

@media (max-width: 1080px) {
  .study-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .study-grid .destination-card:last-of-type {
    grid-column: auto;
    display: block;
    grid-template-columns: none;
  }
  .study-grid .destination-card:last-of-type img { height: 190px; min-height: 0; }
  .cefr-card-expanded .level-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .hero-media .carousel-slide img { object-position: 62% center; }
  .hero-dots { right: 18px; bottom: 18px; }
  .destination-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .study-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .study-map-card { grid-template-columns: 1fr; }
  .connection-map, .connection-map > img { min-height: 330px; }
  .cefr-card-expanded .level-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 580px) {
  .hero-media .carousel-slide img { object-position: 64% center; }
  .hero-dots { display: none; }
  .cefr-card-expanded .level-list { grid-template-columns: 1fr; }
  .quiz-head, .level-quiz-head { display: grid; }
  .study-grid { grid-template-columns: 1fr; }
  .destination-tabs { display: flex; }
  .study-banner .country-slide-label { left: 16px; bottom: 18px; }
  .connection-map, .connection-map > img { min-height: 280px; }
  .map-node { font-size: .58rem; padding: 4px 7px; }
  .footer-social { align-items: center; }
  .footer-email { flex-basis: 100%; margin: 5px 0 0; }
}

/* Verified enquiry form */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-status {
  min-height: 0;
  margin-top: 14px;
  padding: 0;
  border-radius: 16px;
  line-height: 1.55;
}
.form-status:not(:empty) {
  min-height: 26px;
  padding: 14px 16px;
  background: #eef6ff;
  border: 1px solid #bdd9ff;
}
.form-status.is-success {
  color: #0d5b3b;
  background: #ecfbf3;
  border-color: #a9e3c4;
}
.form-status.is-error {
  color: #8c2330;
  background: #fff0f2;
  border-color: #f0bac2;
}
.button[disabled] {
  cursor: not-allowed;
  opacity: .65;
  transform: none !important;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}



/* Final honeypot fix: keep anti-spam field in the HTML but never show it */
.hp-field {
  display: none !important;
}
