/* Italy Study Consultants — styles
   Brand: Italy Green #07843B · Italy Red #E50919 · Charcoal #303234 · Globe Blue #168BCB · Soft Neutral #F4F6F5 · White
   Type: Montserrat (headlines) + Inter (body, UI). 8px spacing rhythm. */

:root {
  --green: #07843B; --green-d: #056a2f; --green-l: #e7f3ec;
  --red: #E50919; --red-d: #c00614; --red-l: #fdeced;
  --blue: #168BCB; --blue-d: #0f6fa4; --blue-l: #e7f2f9;
  --ink: #303234; --ink-2: #5a5e62; --ink-3: #868b90;
  --soft: #F4F6F5; --line: #e1e5e3; --white: #fff;
  --dark: #26282a; --dark-2: #323538;
  --fd: "Montserrat", "Arial", sans-serif;
  --fb: "Inter", "Arial", sans-serif;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow: 0 24px 60px -28px rgba(38, 40, 42, .28);
  --shadow-sm: 0 10px 30px -16px rgba(38, 40, 42, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --hh: 172px; /* topbar + header; the logo stays at the 280px brand minimum */
  --hang: 64px; /* how far the framed logo hangs below the header */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--fd); color: var(--ink); margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: #fff; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic-arrow { transition: transform .45s var(--ease); }
.flip { transform: scaleX(-1); }

/* ---------- type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1.2 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow.light { color: rgba(255, 255, 255, .78); }
.tri { display: inline-flex; width: 22px; height: 8px; border-radius: 2px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); background: linear-gradient(90deg, var(--green) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--ink-2); line-height: 1.7; }
.lead a { color: var(--green-d); font-weight: 600; }
.fineprint { font-size: .85rem; color: var(--ink-3); line-height: 1.55; margin-top: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-d); position: relative; padding: 4px 0; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease); }
.text-link:hover::after { transform: scaleX(1); }
.text-link:hover .ic-arrow, .btn:hover .ic-arrow, .svc-tile:hover .ic-arrow { transform: translateX(5px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-d); font-size: .95rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--ink-2); }
.ticks .ic { color: var(--green); margin-top: .22em; width: 1.1em; height: 1.1em; }
.ticks.big li { font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); font: 600 .74rem/1 var(--fb); color: var(--ink-2); letter-spacing: .01em; }
.tag-green { background: var(--green-l); color: var(--green-d); border-color: transparent; }
.tag-blue { background: var(--blue-l); color: var(--blue-d); border-color: transparent; }

/* ---------- buttons */
.btn { --bg: var(--ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; background: var(--bg); color: var(--fg); font: 600 .98rem/1 var(--fb); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--green-d)); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 16px 34px -16px rgba(7, 132, 59, .6); }
.btn-primary { --bg: var(--green); --hover: var(--green-d); }
.btn-outline { --bg: transparent; --fg: var(--ink); --hover: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); --hover: var(--green-l); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn > * { position: relative; }
.magnetic { will-change: transform; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- loader + curtain + progress + cursor */
.loader { position: fixed; inset: 0; z-index: 200; background: #fff; display: grid; place-items: center; }
.loader-inner { display: grid; justify-items: center; gap: 28px; }
.loader .logo-frame { opacity: 0; transform: translateY(14px) scale(.98); }
.loader img { width: min(280px, 64vw); height: auto; }
.loader-bar { width: 160px; height: 3px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green) 0 33.3%, #cfd4d2 33.3% 66.6%, var(--red) 66.6%); transform: scaleX(0); transform-origin: left; }
.no-js .loader, .seen .loader { display: none; }
.loader { animation: failsafe 0s 6s forwards; }
.seen .curtain { animation: failsafe 0s 4s forwards; }
@keyframes failsafe { to { visibility: hidden; } }
.curtain { position: fixed; inset: 0; z-index: 190; display: flex; pointer-events: none; }
.curtain i { flex: 1; transform: scaleY(0); transform-origin: bottom; }
.curtain i:nth-child(1) { background: var(--green); }
.curtain i:nth-child(2) { background: #f4f6f5; }
.curtain i:nth-child(3) { background: var(--red); }
.seen .curtain i { transform: scaleY(1); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green) 33%, #d9dedc 33%, #d9dedc 66%, var(--red) 66%); transform: scaleX(0); transform-origin: left; }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; opacity: 0; transition: opacity .3s; position: fixed; z-index: 250; inset: 0 auto auto 0; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
  .cursor-dot { width: 6px; height: 6px; background: var(--green); }
  .cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(48, 50, 52, .35); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), background .3s, border-color .3s; }
  .cursor-ring em { font: 600 .72rem/1 var(--fb); font-style: normal; color: #fff; opacity: 0; letter-spacing: .04em; transition: opacity .25s; }
  .cursor.is-on { opacity: 1; }
  .cursor.is-link .cursor-ring { width: 58px; height: 58px; border-color: var(--green); background: rgba(7, 132, 59, .08); }
  .cursor.is-view .cursor-ring { width: 84px; height: 84px; background: var(--green); border-color: var(--green); }
  .cursor.is-view .cursor-ring em { opacity: 1; }
  .cursor.is-view .cursor-dot { opacity: 0; }
}

/* ---------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; transition: transform .6s var(--ease), box-shadow .4s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .35); }
.topbar { background: var(--soft); font-size: .82rem; color: var(--ink-2); overflow: hidden; max-height: 36px; transition: max-height .5s var(--ease); }
.site-header.is-scrolled .topbar { max-height: 0; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a:hover { color: var(--green-d); }
.header-in { display: flex; align-items: center; gap: 28px; height: 136px; transition: height .6s var(--ease); }
/* scrolled: the header stays, gets slimmer, and the framed logo shrinks in place */
.site-header.is-scrolled .header-in { height: 84px; }
.brand { flex: none; }
.brand img { width: 280px; height: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list > li > a, .nav-trigger { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px; border-radius: 99px; font: 500 .95rem/1 var(--fb); color: var(--ink); position: relative; transition: color .3s, background .3s; }
.nav-list > li > a::after, .nav-trigger::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-list > li > a:hover::after, .nav-trigger:hover::after, [aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
[aria-current="page"] { color: var(--green-d) !important; }
.nav-trigger .ic { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gut) 24px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease); }
.has-mega.is-open .nav-trigger .ic { transform: rotate(180deg); }
.mega-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-links a { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); transition: background .3s; }
.mega-links a:hover { background: var(--soft); }
.mega-links strong { display: block; font-family: var(--fd); font-size: 1rem; }
.mega-links em { font-style: normal; font-size: .88rem; color: var(--ink-2); }
.mega-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); }
.mega-feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; color: #fff; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature > span { position: relative; padding: 22px; width: 100%; background: linear-gradient(transparent, rgba(20, 22, 24, .78)); display: grid; gap: 4px; }
.mega-feature em { font-style: normal; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.mega-feature strong { font-family: var(--fd); font-size: 1.1rem; }
.mega-feature .link-arrow { color: #fff; }
.header-cta { height: 48px; padding: 0 22px; font-size: .92rem; }
/* ---------- logo frame
   A white plate around the untouched logo: a slowly travelling tricolour border, an inner hairline like a
   framed print and (in the header) a hanging ribbon tab. Padding keeps the brand clear space (the height of
   the "I" in ITALY, about 16px at 280px wide) between the hairline and the artwork. */
@property --lf-spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.logo-frame { --lf-pad: 22px 26px; --lf-r: 22px; position: relative; display: inline-block; padding: var(--lf-pad); background: #fff; border-radius: var(--lf-r); isolation: isolate;
  box-shadow: 0 1px 2px rgba(38, 40, 42, .06), 0 22px 44px -26px rgba(38, 40, 42, .5); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.logo-frame img { position: relative; z-index: 1; }
.logo-frame::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--lf-spin), var(--green) 0deg, #e3e7e5 60deg, var(--red) 120deg, #e3e7e5 180deg, var(--green) 240deg, #e3e7e5 300deg, var(--green) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: lf-spin 9s linear infinite; }
.logo-frame::after { content: ""; position: absolute; inset: 6px; border-radius: calc(var(--lf-r) - 6px); border: 1px solid #e6eae8; pointer-events: none; }
@keyframes lf-spin { to { --lf-spin: 360deg; } }
a.logo-frame:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(38, 40, 42, .06), 0 30px 54px -26px rgba(7, 132, 59, .45); }
a.logo-frame:hover::before { animation-duration: 3s; }
.logo-frame.lf-lg { --lf-pad: clamp(30px, 5vw, 60px); --lf-r: 28px; width: 100%; }
.logo-frame.lf-lg img { width: 100%; height: auto; }
/* header: the plate hangs from the top bar */
.brand.is-hanging { align-self: flex-start; --lf-r: 0 0 24px 24px; border-radius: 0 0 24px 24px; z-index: 2; transform-origin: 0 0; scale: 1; transition: scale .6s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease); }
.site-header.is-scrolled .brand.is-hanging { scale: .66; }
.brand.is-hanging::after { border-radius: 0 0 18px 18px; }
.lf-ribbon { position: absolute; left: 50%; bottom: -24px; width: 30px; height: 28px; margin-left: -15px; z-index: -1; transform-origin: 50% 0;
  background: linear-gradient(90deg, var(--green) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .12)); animation: lf-sway 4.5s ease-in-out infinite; }
/* orbit: a dashed track hugging the frame with a plane (and tricolour contrail) flying around it */
.lf-orbit { position: absolute; left: -11px; top: -11px; width: calc(100% + 22px); height: calc(100% + 22px); overflow: visible; pointer-events: none; z-index: -2; }
.is-hanging .lf-orbit { top: 0; height: calc(100% + 11px); }
.lf-track { fill: none; stroke: rgba(7, 132, 59, .38); stroke-width: 1.2; stroke-dasharray: 3 6; animation: lf-march 1.6s linear infinite; }
@keyframes lf-march { to { stroke-dashoffset: -18; } }
.lf-plane circle { fill: var(--green); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 2px 4px rgba(7, 132, 59, .5)); }
.lf-plane use { color: #fff; }
.lf-t1 { fill: var(--red); opacity: .9; }
.lf-t2 { fill: #b9c1bd; opacity: .9; }
.lf-t3 { fill: var(--green); opacity: .7; }
.no-anim .lf-plane, .no-anim .lf-trail { display: none; }
@keyframes lf-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: #fff; padding: calc(var(--hh) + var(--hang)) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav a { display: block; font: 700 clamp(1.5rem, 6vw, 2rem)/1.2 var(--fd); padding: 10px 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
.mm-foot { display: grid; gap: 18px; padding-top: 24px; }
.mm-foot p { margin: 0; color: var(--ink-2); line-height: 1.9; }

/* ---------- split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- reveal initial states (JS only; restored when animations are off) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-clip] { clip-path: inset(100% 0 0 0 round var(--r-lg)); }
.js [data-clip] img { transform: scale(1.2); }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
.no-anim [data-clip] { clip-path: none !important; }
.no-anim [data-clip] img { transform: none !important; }

/* ---------- sections */
main { display: block; }
.sec { padding: clamp(72px, 10vw, 136px) 0; position: relative; overflow-x: clip; }
.cta-band, .page-hero, .marquee-sec { overflow-x: clip; }
.sec.soft { background: var(--soft); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.split-head { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.sec-sub { color: var(--ink-2); margin: 0; }

/* ---------- hero */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hh) + var(--hang) + 24px) 0 72px; display: flex; align-items: center; overflow: hidden; background:
  radial-gradient(60% 50% at 88% 30%, rgba(22, 139, 203, .07), transparent 70%),
  radial-gradient(40% 40% at 10% 90%, rgba(7, 132, 59, .06), transparent 70%), #fff; }
.hero-bgword { position: absolute; left: 0; right: 0; text-align: center; bottom: -4vw; font: 800 clamp(8rem, 24vw, 22rem)/.8 var(--fd); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px #e7ebe9; white-space: nowrap; pointer-events: none; user-select: none; }
.hero-grid > *, .ph-grid > *, .cost-grid > *, .tm-grid > *, .map-grid > *, .jr-grid > *, .faq-grid > * { min-width: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.7rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin-bottom: 26px; }
.hl { position: relative; color: var(--green); white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px; background: linear-gradient(90deg, var(--green) 0 33.3%, #dfe4e2 33.3% 66.6%, var(--red) 66.6%); transform: scaleX(var(--hl, 0)); transform-origin: left; transition: transform 1.1s var(--ease) .2s; }
.no-anim .hl::after, .hl.is-in::after { --hl: 1; }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--ink-2); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-facts li { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.hero-facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts strong { font: 700 1.25rem/1.2 var(--fd); color: var(--ink); }
.hero-facts span { font-size: .86rem; color: var(--ink-2); }
.hero-visual { position: relative; }
.hero-swiper { height: clamp(420px, 64vh, 640px); overflow: visible; }
.hs-slide { border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hs-slide.swiper-slide-active img { transform: scale(1); }
.hs-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hs-region { font: 600 .72rem/1 var(--fb); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }
.hs-cap strong { font: 800 1.7rem/1.15 var(--fd); letter-spacing: -.02em; }
.hs-unis { font-size: .9rem; color: var(--ink-2); }
.hs-ui { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.hs-count { display: flex; align-items: center; gap: 10px; font: 700 .95rem/1 var(--fd); }
.hs-sep { width: 22px; height: 1.5px; background: var(--ink-3); }
.hs-tot { color: var(--ink-3); }
.hs-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.hs-nav { display: flex; gap: 8px; }
.hs-nav button, .slider-nav button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.hs-nav button:hover, .slider-nav button:hover { background: var(--ink); color: #fff; box-shadow: none; }
.hs-toggle .i-play { display: none; }
.hs-toggle.is-paused .i-play { display: block; }
.hs-toggle.is-paused .i-pause { display: none; }
.hero-badge { position: absolute; top: -34px; left: -34px; width: 120px; height: 120px; z-index: 5; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.hero-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero-badge text { font: 700 10.2px var(--fb); letter-spacing: .2em; fill: var(--green-d); }
.hero-badge > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--ink-3); transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee */
.marquee-sec { padding: 34px 0 30px; border-block: 1px solid var(--line); }
.mq-label { text-align: center; font: 600 .76rem/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-row { display: flex; flex: none; gap: 44px; padding-right: 44px; animation: mq 60s linear infinite; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row li { display: flex; align-items: center; gap: 14px; font: 600 clamp(1.05rem, 1.6vw, 1.35rem)/1 var(--fd); color: var(--ink-2); white-space: nowrap; letter-spacing: -.01em; }
.mq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 12px 0 0 -1px #d5dad8; margin-right: 12px; }
.mq-row li:nth-child(even) .mq-dot { background: var(--red); }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-media { position: relative; padding: 0 12% 18% 0; }
.intro-media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.im-a { aspect-ratio: 4 / 4.6; }
.im-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid #fff; border-radius: calc(var(--r-lg) + 8px) !important; box-shadow: var(--shadow); }
.intro-media img { width: 100%; height: 115%; object-fit: cover; }
.im-chip { position: absolute; left: -20px; bottom: 26%; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); max-width: 240px; }
.im-chip .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green-l); color: var(--green-d); }
.im-chip span { font-size: .85rem; color: var(--ink-2); line-height: 1.35; }
.im-chip strong { display: block; color: var(--ink); font-family: var(--fd); font-size: .95rem; }
.intro-copy h2 { margin-bottom: 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 30px; }
.pillar { padding: 20px; border-radius: var(--r); background: var(--soft); }
.pillar h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.pillar p { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.pl-ic, .wu-ic, .ml-ic, .cv-ic, .c-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.g { --c: var(--green); --cl: var(--green-l); } .r { --c: var(--red-d); --cl: var(--red-l); } .b { --c: var(--blue-d); --cl: var(--blue-l); } .n { --c: var(--ink); --cl: #e9ecea; }
.pl-ic.g, .pl-ic.r, .pl-ic.n, .pl-ic.b, .wu-ic, .ml-ic, .cv-ic, .c-ic { background: var(--cl); color: var(--c); }

/* ---------- why italy (dark, pinned horizontal on desktop) */
.why { background: var(--dark); color: #fff; overflow: hidden; }
.why-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 9vw, 120px) 0; gap: clamp(32px, 4vw, 56px); }
.why-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.why-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.why h2 { color: #fff; max-width: 760px; }
.why-progress { width: 180px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.why-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); transform: scaleX(0); transform-origin: left; }
.why-track { display: flex; gap: 22px; padding: 0 var(--gut); padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.why-card { flex: none; width: clamp(290px, 31vw, 420px); background: var(--dark-2); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, .06); }
.why-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.why-card > div { padding: 26px 26px 30px; }
.why-num { display: block; font: 800 clamp(2.8rem, 4.6vw, 4rem)/1 var(--fd); letter-spacing: -.04em; margin-bottom: 16px; background: linear-gradient(90deg, #fff, #cfd6d3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-num small { font-size: .45em; letter-spacing: 0; margin-left: 4px; }
.why-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.why-card p { color: rgba(255, 255, 255, .72); font-size: .95rem; margin: 0; line-height: 1.6; }

/* ---------- study levels */
.levels { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.lvl-tabs { position: relative; display: inline-flex; gap: 4px; padding: 5px; background: var(--soft); border-radius: 99px; margin-bottom: 30px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.lvl-tab { position: relative; z-index: 1; height: 46px; padding: 0 24px; border-radius: 99px; font: 600 .95rem/1 var(--fb); color: var(--ink-2); white-space: nowrap; transition: color .35s; }
.lvl-tab.is-active { color: #fff; }
.lvl-ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 99px; background: var(--green); transition: transform .55s var(--ease), width .55s var(--ease); }
.lvl-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 26px; border-block: 1px solid var(--line); }
.lvl-facts > div { padding: 22px 22px 22px 0; }
.lvl-facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.lvl-facts dt { font: 600 .76rem/1 var(--fb); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 10px; }
.lvl-facts dd { margin: 0; font: 700 clamp(1.1rem, 1.8vw, 1.45rem)/1.25 var(--fd); letter-spacing: -.01em; }
.lvl-elig { color: var(--ink-2); max-width: 900px; }
.lvl-elig strong { color: var(--ink); }
.lvl-panel .ticks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; }

/* ---------- fields slider (arc carousel) */
.fields { margin-top: clamp(48px, 6vw, 80px); }
.fields-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.fields-count { margin: 0; font: 600 .9rem/1 var(--fb); color: var(--ink-3); }
.fields-count span:first-child { color: var(--ink); font-family: var(--fd); font-weight: 700; }
.slider-nav { display: flex; gap: 10px; }
.fields-swiper { padding: 10px 0 60px; overflow: hidden; }
.fs-slide { width: clamp(282px, 28vw, 380px); height: auto; }
.field-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .5s var(--ease), opacity .5s, filter .5s; will-change: transform; }
.fs-slide.swiper-slide-active .field-card { box-shadow: var(--shadow); }
.fs-slide.is-dim .field-card { opacity: .38; filter: grayscale(1); }
.fc-img { aspect-ratio: 16 / 11; overflow: hidden; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.field-card:hover .fc-img img { transform: scale(1.06); }
.fc-body { position: relative; padding: 30px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.fc-icon { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(7, 132, 59, .7); }
.fc-body h3 { font-size: 1.25rem; margin: 6px 0 12px; }
.fc-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
.fc-specs li { font-size: .9rem; color: var(--ink-2); position: relative; padding-left: 12px; }
.fc-specs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.fc-where { display: flex; gap: 8px; font-size: .86rem; color: var(--ink-2); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.fc-where .ic { color: var(--blue); margin-top: .15em; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ---------- services grid (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-tile { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: var(--r-lg); background: var(--soft); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), background .4s; }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(7, 132, 59, .12), transparent 60%); opacity: 0; transition: opacity .4s; }
.svc-tile:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.svc-tile:hover::before { opacity: 1; }
.svc-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--green); box-shadow: var(--shadow-sm); margin-bottom: 10px; transition: background .4s, color .4s; }
.svc-tile:hover .svc-ic { background: var(--green); color: #fff; }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-tile p { color: var(--ink-2); font-size: .95rem; flex: 1; margin: 0 0 8px; }

/* ---------- map */
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.map-copy h2 { margin-bottom: 18px; }
.map-wrap { position: relative; }
/* 3D dot map: a tilted plane of tricolour dots with upright "beacon" pillars per city */
.map3d-wrap { position: relative; perspective: 1500px; padding: 6% 0 2%; }
.map3d { --rx: 32deg; --rz: 0deg; --hs: 1; position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 560 / 640;
  transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz)); transition: transform 1.1s var(--ease); }
.m3-floor { position: absolute; inset: -18%; border-radius: 50%; transform: translateZ(-40px); pointer-events: none;
  background: radial-gradient(closest-side, rgba(22, 139, 203, .14), rgba(22, 139, 203, 0) 70%),
    repeating-linear-gradient(0deg, rgba(48, 50, 52, .07) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(48, 50, 52, .07) 0 1px, transparent 1px 30px);
  -webkit-mask: radial-gradient(closest-side, #000 35%, transparent 100%); mask: radial-gradient(closest-side, #000 35%, transparent 100%); }
.m3-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m3-shadow { fill: rgba(38, 40, 42, .2); transform: translate(10px, 18px); }
.m3-outline { fill: rgba(255, 255, 255, .75); stroke: rgba(48, 50, 52, .2); stroke-width: 1; stroke-linejoin: round; }
.m3-dots circle { transform-box: fill-box; transform-origin: center; }
.m3-dots.is-wave circle { animation: m3wave .9s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes m3wave { 0% { transform: scale(1); } 30% { transform: scale(2.1); opacity: .55; } 100% { transform: scale(1); opacity: 1; } }

.beacon { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; outline: none; }
.b-ring { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: background .3s, transform .4s var(--ease); }
.b-ring::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--green); animation: b-pulse 2.4s ease-out infinite; }
@keyframes b-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
/* the stand undoes the plane's rotation so the pillar and label face the viewer */
.b-stand { position: absolute; left: 0; bottom: 0; transform-origin: 0 100%; transform: rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)); transform-style: preserve-3d; }
.b-inner { display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.b-l .b-inner { align-items: flex-end; transform: translateX(calc(-100% + 1px)); }
.b-r .b-inner { align-items: flex-start; transform: translateX(-1px); }
.b-l .b-label { border-bottom-right-radius: 4px; }
.b-r .b-label { border-bottom-left-radius: 4px; }
.b-pillar { width: 2px; height: calc(var(--h) * var(--hs)); background: linear-gradient(to top, var(--green), rgba(7, 132, 59, .05)); transform-origin: bottom; transition: background .3s, width .3s; }
.b-label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 7px 6px 12px; border-radius: 99px; background: #fff; box-shadow: 0 10px 24px -10px rgba(38, 40, 42, .45), 0 0 0 1px rgba(48, 50, 52, .08); font: 700 .8rem/1 var(--fd); color: var(--ink); white-space: nowrap; transition: background .3s, color .3s, transform .45s var(--ease); }
.b-label em { font-style: normal; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); font-size: .7rem; transition: background .3s, color .3s; }
.beacon:hover .b-label, .beacon:focus-visible .b-label { transform: translateY(-4px); }
.beacon:focus-visible .b-label { box-shadow: 0 0 0 3px var(--blue); }
.beacon.is-active .b-ring { background: var(--red); transform: scale(1.2); }
.beacon.is-active .b-ring::after { border-color: var(--red); }
.beacon.is-active .b-pillar { width: 3px; background: linear-gradient(to top, var(--red), rgba(229, 9, 25, .05)); }
.beacon.is-active .b-label { background: var(--red-d); color: #fff; }
.beacon.is-active .b-label em { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 760px) {
  .map3d { --rx: 30deg; --hs: .72; max-width: 400px; }
  .b-label { font-size: .7rem; padding: 5px 6px 5px 9px; gap: 5px; }
  .b-label em { min-width: 17px; height: 17px; font-size: .62rem; }
}
.no-anim .map3d { transition: none; }
/* phones: heading, then the map, then the selected city's details */
@media (max-width: 960px) {
  .map-copy { display: contents; }
  .map-copy > .eyebrow, .map-copy > h2, .map-copy > .lead { order: 0; }
  .map-wrap { order: 1; margin-top: -8px; }
  .map-panels { order: 2; margin-top: 8px; }
  .map-grid { gap: 0; }
  .map-copy > .lead { margin-bottom: 0; }
}
.map-hint { position: absolute; right: 0; top: 0; display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--ink-3); margin: 0; }
.map-panels { margin-top: 28px; min-height: 380px; }
.city-panel { display: grid; grid-template-columns: 200px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.city-img { border-radius: var(--r); overflow: hidden; }
.city-img img { width: 100%; height: 100%; object-fit: cover; min-height: 230px; }
.city-body { padding: 10px 8px 6px 0; }
.city-body .eyebrow { margin-bottom: 6px; }
.city-body h3 { font-size: 1.6rem; margin-bottom: 6px; }
.city-body > p { color: var(--ink-2); font-size: .95rem; margin-bottom: 12px; }
.city-unis li { padding: 9px 0; border-top: 1px solid var(--line); display: grid; }
.city-unis strong { font-size: .95rem; }
.city-unis span { font-size: .84rem; color: var(--ink-3); }
.city-cost { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--green-l); font-size: .88rem; color: var(--green-d); }

/* ---------- journey */
.jr-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.jr-intro { position: sticky; top: calc(var(--hh) + var(--hang)); }
.jr-intro h2 { margin-bottom: 18px; }
.jr-route { display: flex; align-items: center; gap: 12px; margin: 30px 0 36px; font: 800 1rem/1 var(--fd); letter-spacing: .06em; }
.jr-route span:first-child { color: var(--green); } .jr-route span:last-child { color: var(--red); }
.jr-route svg { width: 180px; height: 40px; overflow: visible; }
.jr-route path { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: .02 .015; animation: march 2.5s linear infinite; }
@keyframes march { to { stroke-dashoffset: -.35; } }
.journey { position: relative; padding-left: 0; }
.jr-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.jr-line i { position: absolute; inset: 0; background: linear-gradient(var(--green), var(--green) 50%, var(--red)); transform: scaleY(0); transform-origin: top; }
.jr-plane { position: absolute; left: 50%; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.jr-plane .ic { transform: rotate(135deg); width: 20px; height: 20px; }
.jr-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 22px; }
.jr-node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font: 700 1.05rem/1 var(--fd); color: var(--ink-3); transition: background .5s, color .5s, box-shadow .5s; }
.jr-step.is-on .jr-node { background: var(--green); color: #fff; box-shadow: 0 0 0 6px var(--green-l); }
.jr-card { padding: 22px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s, border-color .5s, transform .6s var(--ease); }
.journey-sec.soft .jr-card { background: #fff; }
.jr-step.is-on .jr-card { box-shadow: var(--shadow-sm); border-color: transparent; }
.jr-time { display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem/1 var(--fb); color: var(--blue-d); background: var(--blue-l); padding: 6px 10px; border-radius: 99px; margin-bottom: 12px; }
.jr-time .ic { width: 14px; height: 14px; }
.jr-card h3 { margin-bottom: 6px; }
.jr-card p:last-child { color: var(--ink-2); margin: 0; font-size: .96rem; }

/* ---------- costs */
.costs-sec { background: var(--soft); }
.cost-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
.estimator { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.estimator h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 26px; }
.est-form { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-bottom: 24px; }
.field { display: grid; gap: 8px; }
.field > span { font: 600 .82rem/1.2 var(--fb); color: var(--ink); }
.field em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font: 400 1rem/1.4 var(--fb); color: var(--ink); transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23303234' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.field .is-invalid, .field input:user-invalid { border-color: var(--red); }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: var(--r-sm); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; font: 600 .9rem/1.1 var(--fb); color: var(--ink-2); text-align: center; transition: background .3s, color .3s, box-shadow .3s; }
.seg input:checked + span { background: #fff; color: var(--green-d); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap label { flex: 1 1 calc(50% - 4px); }
.est-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.est-out > div { padding: 18px; border-radius: var(--r); background: var(--soft); display: grid; gap: 6px; }
.est-out span { font-size: .82rem; color: var(--ink-2); }
.est-out strong { font: 700 1.25rem/1.2 var(--fd); }
.est-out .est-total { grid-column: 1 / -1; background: var(--green); color: #fff; }
.est-total span { color: rgba(255, 255, 255, .85); }
.est-total strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.dsu-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; }
.dsu-card > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.dsu-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 40, 42, 0) 20%, rgba(38, 40, 42, .9) 75%); }
.dsu-body { position: relative; z-index: 1; padding: clamp(26px, 4vw, 44px); }
.dsu-body h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; margin-bottom: 12px; }
.dsu-body p { color: rgba(255, 255, 255, .82); margin-bottom: 24px; }

/* ---------- testimonials */
.tm-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tm-head h2 { margin-bottom: 32px; }
.tm-swiper { overflow: visible; padding: 10px 0 46px; width: 100%; max-width: 640px; }
.tm-card { margin: 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 52px); box-shadow: var(--shadow); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.tm-mark { position: absolute; right: 30px; top: 6px; font: 800 9rem/1 var(--fd); color: var(--green-l); pointer-events: none; }
.tm-card blockquote { position: relative; margin: 0; font: 600 clamp(1.2rem, 2vw, 1.6rem)/1.45 var(--fd); letter-spacing: -.01em; color: var(--ink); }
.tm-card figcaption { display: flex; align-items: center; gap: 14px; }
.tm-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 var(--fd); color: var(--ink); border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(var(--green) 0 33%, #dfe4e2 0 66%, var(--red) 0) border-box; }
.tm-card figcaption strong { display: block; font-family: var(--fd); }
.tm-card figcaption em { font-style: normal; color: var(--ink-3); font-size: .9rem; }
.tm-pag { position: absolute; bottom: 0 !important; left: 0; display: flex; gap: 8px; }
.tm-pag .swiper-pagination-bullet { width: 28px; height: 4px; border-radius: 4px; background: var(--line); opacity: 1; margin: 0 !important; transition: width .4s var(--ease), background .3s; }
.tm-pag .swiper-pagination-bullet-active { width: 48px; background: var(--green); }

/* ---------- accordion */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--hh) + var(--hang)); }
.faq-grid h2 { margin-bottom: 18px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item[hidden] { display: none; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font: 600 clamp(1rem, 1.4vw, 1.12rem)/1.4 var(--fd); color: var(--ink); transition: color .3s; }
.acc-btn:hover { color: var(--green-d); }
.acc-plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.acc-plus::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-plus { background: var(--green); color: #fff; box-shadow: none; transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-plus::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--ink-2); padding: 0 56px 24px 0; margin: 0; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* ---------- CTA band */
.cta-band { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
body[data-page="contact"] .cta-band { display: none; }
.cta-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; background: var(--soft); border-radius: calc(var(--r-lg) + 8px); padding: clamp(16px, 2vw, 22px); padding-right: clamp(24px, 5vw, 72px); max-width: calc(var(--wrap) + 0px); }
.cta-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-copy h2 { margin-bottom: 18px; }
.cta-copy > p { color: var(--ink-2); margin-bottom: 30px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); position: relative; }
.tri-band { display: flex; height: 4px; }
.tri-band i { flex: 1; } .tri-band i:nth-child(1) { background: var(--green); } .tri-band i:nth-child(2) { background: #e9ecea; } .tri-band i:nth-child(3) { background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.4fr; gap: 48px; padding-top: 72px; padding-bottom: 48px; }
.f-logo { margin-bottom: 22px; }
.f-logo img { width: 280px; height: auto; }
.f-brand p { color: var(--ink-2); font-size: .95rem; max-width: 380px; }
.site-footer h3 { font: 700 .82rem/1 var(--fb); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 22px; }
.f-col li { padding: 6px 0; }
.f-col a { color: var(--ink); transition: color .3s; }
.f-col a:hover, .f-line a:hover { color: var(--green-d); }
.f-line { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.f-line .ic { color: var(--green); margin-top: .18em; }
.f-line.big { font-size: 1.05rem; }
.f-serve { font-size: .88rem; color: var(--ink-3); margin-top: 18px; }
.f-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); }
.f-bottom p { margin: 0; }
.f-note { max-width: 620px; text-align: right; }
.f-credits { order: 3; flex-basis: 100%; font-size: .76rem; }
.f-credits a { text-decoration: underline; }
.f-bottom { flex-wrap: wrap; }

/* ---------- floating buttons */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 16px 34px -12px rgba(7, 132, 59, .7); }
.fab-wa .ic { width: 28px; height: 28px; }
.to-top { position: fixed; right: 29px; bottom: 94px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--line); stroke-width: 2; }
.to-top .tt-ring { stroke: var(--green); stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top .ic { transform: rotate(-90deg); width: 18px; height: 18px; }

/* ---------- page hero */
.page-hero { padding: calc(var(--hh) + var(--hang) + clamp(16px, 3vw, 40px)) 0 clamp(56px, 7vw, 96px); background: radial-gradient(50% 60% at 95% 10%, rgba(22, 139, 203, .07), transparent 70%), #fff; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.page-hero .lead { margin-bottom: 30px; max-width: 580px; }
.ph-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.ph-img img { width: 100%; height: 112%; object-fit: cover; }
.ph-compact { padding-bottom: 24px; }
.ph-compact h1 { max-width: 900px; }
.crumbs { display: flex; gap: 10px; font-size: .86rem; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a:hover { color: var(--green-d); }

/* ---------- programmes page */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.doc-card { background: #fff; border-radius: var(--r-lg); padding: 28px 24px; }
.dc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); margin-bottom: 18px; }
.doc-card h3 { margin-bottom: 12px; }
.doc-card .ticks li { font-size: .92rem; padding: 6px 0; }
.intake { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); overflow-x: auto; }
.ik-months, .ik-track { display: grid; grid-template-columns: repeat(12, minmax(54px, 1fr)); }
.ik-months { margin-left: 200px; padding-bottom: 12px; border-bottom: 1px solid var(--line); min-width: 700px; }
.ik-months span { font: 600 .8rem/1 var(--fb); color: var(--ink-3); text-align: center; }
.ik-row { display: grid; grid-template-columns: 200px 1fr; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 900px; }
.ik-name { margin: 0; display: grid; }
.ik-name strong { font-family: var(--fd); }
.ik-name span { font-size: .82rem; color: var(--ink-3); }
.ik-track { position: relative; height: 44px; row-gap: 0; }
.ik-bar { grid-row: 1; grid-column: calc(var(--s) + 1) / calc(var(--e) + 1); margin: 0 2px; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; color: #fff; font: 600 .78rem/1.1 var(--fb); white-space: nowrap; overflow: hidden; transform-origin: left; }
.ik-bar em { font-style: normal; }
.ik-bar.g { background: var(--green); } .ik-bar.b { background: var(--blue-d); } .ik-bar.n { background: var(--ink); } .ik-bar.r { background: var(--red-d); }
.mbbs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mbbs-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.mbbs-img img { width: 100%; height: 112%; object-fit: cover; }
.mbbs-grid h2 { margin-bottom: 18px; }
.mbbs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 10px; }
.mbbs-list li { padding: 18px 20px; border-radius: var(--r); background: var(--soft); display: grid; gap: 4px; border-left: 3px solid var(--green); }
.mbbs-list li:nth-child(even) { border-left-color: var(--red); }
.mbbs-list strong { font-family: var(--fd); }
.mbbs-list span { font-size: .88rem; color: var(--ink-2); }

/* ---------- universities page */
.cities-swiper { padding: 0 var(--gut); padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); overflow: hidden; }
.cs-slide { width: clamp(270px, 26vw, 340px); height: auto; }
.city-card { height: 100%; background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.city-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 1.2s var(--ease); }
.city-card:hover img { transform: scale(1.05); }
.cc-body { padding: 22px 22px 24px; }
.cc-body .eyebrow { margin-bottom: 6px; }
.cc-body h3 { font-size: 1.45rem; margin-bottom: 8px; }
.cc-body > p { font-size: .92rem; color: var(--ink-2); }
.cc-meta { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); margin: 0; font: 600 .86rem/1 var(--fb); }
.cc-meta span:last-child { color: var(--green-d); }
.cities-sec .fineprint { margin-top: 26px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 .88rem/1 var(--fb); color: var(--ink-2); transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.field-inline { grid-template-columns: auto 200px; align-items: center; }
.uni-count { color: var(--ink-2); font-size: .92rem; margin-bottom: 22px; }
.uni-count strong { color: var(--ink); font-family: var(--fd); }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uni-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .5s, transform .6s var(--ease); }
.uni-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.uni-card.is-hidden { display: none; }
.uc-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.uc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.uni-card:hover .uc-img img { transform: scale(1.06); }
.uc-founded { position: absolute; left: 14px; top: 14px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); font: 700 .76rem/1 var(--fd); }
.uc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.uc-meta { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-3); margin-bottom: 8px; }
.uc-meta .ic { width: 15px; height: 15px; color: var(--red); }
.uc-body h3 { margin-bottom: 8px; }
.uc-note { font-size: .92rem; color: var(--ink-2); }
.uc-areas { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.uc-areas li { font-size: .84rem; color: var(--ink); }
.uc-areas li + li::before { content: "·"; margin-right: 12px; color: var(--ink-3); }

/* ---------- scholarships page */
.dsu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.dsu-grid h2 { margin-bottom: 18px; }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cover { padding: 28px 24px; border-radius: var(--r-lg); background: var(--soft); }
.cover h3 { margin: 18px 0 6px; }
.cover p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.cv-ic .ic { width: 22px; height: 22px; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps-row li { background: #fff; padding: 28px 24px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.steps-row li > span { font: 800 2.6rem/1 var(--fd); color: transparent; -webkit-text-stroke: 1.5px var(--green); display: block; margin-bottom: 18px; }
.steps-row h3 { margin-bottom: 8px; }
.steps-row p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.sch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sch-row { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow .5s, border-color .5s; }
.sch-row:hover { box-shadow: var(--shadow-sm); border-color: transparent; }
.sch-row h3 { font-size: 1.08rem; margin: 14px 0 10px; }
.sch-row p { font-size: .9rem; color: var(--ink-2); margin-bottom: 6px; }
.sch-row p strong { color: var(--ink); }
.tips-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* ---------- visa page */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { padding: 30px 26px; border-radius: var(--r-lg); background: var(--soft); border: 1.5px solid transparent; }
.type-card.featured { background: #fff; border-color: var(--green); box-shadow: var(--shadow); }
.type-card h3 { margin: 18px 0 8px; font-size: 1.25rem; }
.type-card p { color: var(--ink-2); margin: 0; }
.pre-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pre-grid h2 { margin-bottom: 18px; }
.pre-cards { display: grid; gap: 16px; }
.pre-card { position: relative; padding: 30px 30px 30px 96px; border-radius: var(--r-lg); background: #fff; }
.pre-num { position: absolute; left: 28px; top: 28px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 1.2rem/1 var(--fd); background: var(--green); color: #fff; }
.pre-card:nth-child(2) .pre-num { background: var(--red-d); }
.pre-card h3 { margin-bottom: 8px; }
.pre-card p { margin: 0; color: var(--ink-2); }
.ck-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ck-side { position: sticky; top: calc(var(--hh) + var(--hang)); }
.ck-side h2 { margin-bottom: 18px; }
.ck-ring { position: relative; width: 150px; height: 150px; margin: 30px 0 10px; }
.ck-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ck-ring circle { fill: none; stroke: var(--soft); stroke-width: 10; }
.ck-ring .ck-ring-fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease); }
.ck-ring p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; }
.ck-ring strong { font: 800 2.4rem/1 var(--fd); }
.ck-ring span { font-size: .8rem; color: var(--ink-3); }
.ck-reset { font-size: .88rem; color: var(--ink-3); }
.callouts { display: grid; gap: 12px; margin-top: 30px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--blue-l); color: var(--ink); font-size: .92rem; margin: 0; }
.callout .ic { color: var(--blue-d); margin-top: .15em; }
.checklist { display: grid; gap: 10px; }
.ck-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.ck-item:hover { border-color: var(--green); }
.ck-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-box { flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1.8px var(--ink-3); display: grid; place-items: center; color: #fff; transition: background .3s, box-shadow .3s; }
.ck-box .ic { width: 18px; height: 18px; transform: scale(0); transition: transform .4s var(--ease); }
.ck-item input:checked + .ck-box { background: var(--green); box-shadow: none; }
.ck-item input:checked + .ck-box .ic { transform: scale(1); }
.ck-item input:focus-visible + .ck-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.ck-text { display: grid; gap: 4px; }
.ck-text strong { font-family: var(--fd); font-size: 1.02rem; transition: color .3s; }
.ck-text span { font-size: .9rem; color: var(--ink-2); }
.ck-item:has(input:checked) { background: var(--green-l); border-color: transparent; }
.tbars { display: grid; gap: 14px; }
.tbar { display: grid; grid-template-columns: 320px 1fr; align-items: center; gap: 24px; padding: 20px 24px; background: #fff; border-radius: var(--r); }
.tbar p { margin: 0; display: grid; }
.tbar p strong { font-family: var(--fd); }
.tbar p span { font-size: .88rem; color: var(--green-d); font-weight: 600; }
.tb-track { height: 10px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.tb-track i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 10px; background: linear-gradient(90deg, var(--green), var(--blue)); transform-origin: left; }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ref-grid h2 { margin-bottom: 18px; }
.ref-list li { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.05rem, 1.6vw, 1.25rem)/1.3 var(--fd); }
.ref-list li span { font-size: .85rem; color: var(--red-d); min-width: 28px; }
.arrival { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.arr-bg { position: absolute; inset: 0; }
.arr-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .25; }
.arrival .wrap { position: relative; }
.arrival h2 { color: #fff; }
.arr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.arr-card { padding: 28px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.arr-day { display: inline-block; font: 600 .76rem/1 var(--fb); text-transform: uppercase; letter-spacing: .12em; color: #8fe0b0; margin-bottom: 16px; }
.arr-card h3 { color: #fff; margin-bottom: 8px; }
.arr-card p { color: rgba(255, 255, 255, .78); font-size: .94rem; margin: 0; }

/* ---------- services page: stacking cards */
.stack { display: grid; gap: 28px; }
.stack-card { position: sticky; top: calc(var(--hh) + var(--hang) + var(--i) * 12px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; min-height: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 -20px 50px -40px rgba(0, 0, 0, .35); transform-origin: center top; }
.sc-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.sc-num { position: absolute; right: 28px; top: 22px; font: 800 4.2rem/1 var(--fd); color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.sc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); margin-bottom: 22px; }
.sc-icon .ic { width: 26px; height: 26px; }
.stack-card:nth-child(3n+2) .sc-icon { background: var(--red-l); color: var(--red-d); }
.stack-card:nth-child(3n) .sc-icon { background: var(--blue-l); color: var(--blue-d); }
.sc-body h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; }
.sc-body > p { color: var(--ink-2); font-size: 1.05rem; max-width: 460px; }
.sc-img { position: relative; }
.sc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-us { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-us article { padding: 28px 24px; border-radius: var(--r-lg); background: var(--soft); }
.why-us h3 { margin: 18px 0 8px; }
.why-us p { color: var(--ink-2); margin: 0; font-size: .94rem; }

/* ---------- about page */
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.story-copy p:not(.lead) { color: var(--ink-2); }
.mark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mark-logo { display: block; }
.mark-logo img { width: 100%; height: auto; }
.mark-grid h2 { margin-bottom: 26px; }
.mark-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.mark-list strong { display: block; color: var(--ink); font-family: var(--fd); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 34px 28px; border-radius: var(--r-lg); background: var(--soft); border-top: 4px solid var(--c); }
.value .v-num { font: 800 .9rem/1 var(--fd); color: var(--c); }
.value h3 { font-size: 1.5rem; margin: 18px 0 10px; }
.value p { margin: 0; color: var(--ink-2); }
.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.promise-grid h2 { margin-bottom: 18px; }
.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pr-col { padding: 30px 26px; border-radius: var(--r-lg); background: #fff; }
.pr-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pr-yes h3 { color: var(--green-d); }
.pr-no h3 { color: var(--red-d); }
.pr-no h3 span { font-size: 1.6rem; line-height: 1; }
.pr-col li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.office-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.office-grid h2 { margin-bottom: 26px; }
.serve { color: var(--ink-2); margin-top: 22px; }
.map-embed { border-radius: var(--r-lg); overflow: hidden; background: var(--soft); min-height: 380px; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.25); }

/* ---------- contact page */
.contact-sec { padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.consult { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); position: relative; }
.cf-progress { position: relative; display: flex; gap: 24px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 2px solid var(--soft); }
.cf-progress i { position: absolute; left: 0; bottom: -2px; height: 2px; width: 50%; background: var(--green); transition: width .6s var(--ease); }
.consult.step-2 .cf-progress i { width: 100%; }
.cf-step-l { font: 600 .88rem/1 var(--fb); color: var(--ink-3); transition: color .3s; }
.cf-step-l.is-active { color: var(--ink); }
.cf-step { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-step[hidden] { display: none; }
.cf-step .field:has(textarea), .cf-step .field:has(.seg-wrap), .cf-step .consent, .cf-step .cf-actions, .cf-step .cf-next { grid-column: 1 / -1; }
.cf-next { justify-self: start; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 2px; flex: none; }
.cf-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cf-error { margin: 18px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--red-l); color: var(--red-d); font-size: .92rem; }
.cf-done { text-align: center; padding: 30px 10px; }
.cf-done:focus { outline: none; }
.cf-tick { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--green); color: #fff; }
.cf-tick .ic { width: 36px; height: 36px; }
.cf-done h2 { margin-bottom: 12px; }
.cf-done p { color: var(--ink-2); max-width: 440px; margin: 0 auto; }
.cf-done a { color: var(--green-d); font-weight: 600; }
.contact-side { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--soft); transition: background .3s, transform .5s var(--ease); }
a.c-card:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.c-card em { display: block; font-style: normal; font-size: .8rem; color: var(--ink-3); }
.c-card strong { font-family: var(--fd); font-size: 1rem; word-break: break-word; }
.c-addr { align-items: flex-start; }
.c-addr strong { font-family: var(--fb); font-weight: 500; font-size: .92rem; }
.contact-side .map-embed { min-height: 260px; margin-top: 4px; }
.contact-side .map-embed iframe { min-height: 260px; }
.faq-filter { margin-top: 26px; }

/* ---------- responsive */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .topbar { display: none; }
  :root { --hh: 120px; --hang: 52px; }
  .header-in { height: 120px; }
  .site-header.is-scrolled .header-in { height: 76px; }
  .brand img { width: min(250px, 62vw); }
  .svc-grid, .uni-grid, .sch-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid, .arr-grid, .why-us { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-grid, .intro-grid, .map-grid, .jr-grid, .cost-grid, .tm-grid, .faq-grid, .ph-grid, .mbbs-grid, .dsu-grid, .tips-grid, .pre-grid, .ck-grid, .ref-grid, .story-grid, .mark-grid, .promise-grid, .office-grid, .contact-grid, .cta-in { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .hero-badge { left: auto; right: -10px; top: -40px; width: 100px; height: 100px; }
  .jr-intro, .faq-grid > div:first-child, .ck-side { position: static; }
  .lvl-panel .ticks { grid-template-columns: 1fr; }
  .types, .values { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .sc-img { aspect-ratio: 16 / 9; order: -1; }
  .cta-in { padding: 14px 14px 32px; }
  .cta-copy { padding: 0 12px; }
  .ph-img { aspect-ratio: 16 / 10; }
  .tbar { grid-template-columns: 1fr; gap: 12px; }
  .f-bottom { flex-direction: column; }
  .f-note { text-align: left; }
  .why-pin { min-height: 0; }
  .why-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .why-track::-webkit-scrollbar { display: none; }
  .why-card { scroll-snap-align: start; width: min(82vw, 380px); }
  .why-head { grid-template-columns: 1fr; }
  .why-progress { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--hh) + var(--hang) + 12px); }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .hero-facts li:nth-child(2) { border: 0; margin: 0; }
  .hero-facts li:last-child { grid-column: 1 / -1; }
  .hero-swiper { height: 440px; }
  .hs-ui { gap: 14px; }
  .hs-nav button { width: 42px; height: 42px; }
  .pillars, .svc-grid, .uni-grid, .sch-grid, .doc-grid, .arr-grid, .why-us, .steps-row, .cover-grid, .promise, .mbbs-list, .footer-grid, .est-form, .cf-step { grid-template-columns: 1fr; }
  .lvl-facts { grid-template-columns: 1fr; }
  .lvl-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .lvl-facts > div { padding: 16px 0; }
  .city-panel { grid-template-columns: 1fr; }
  .city-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .map-panels { min-height: 0; }
  .intro-media { padding: 0 8% 16% 0; }
  .im-chip { left: 8px; }
  .acc-panel p { padding-right: 0; }
  .pre-card { padding: 84px 22px 24px; }
  .pre-card .pre-num { left: 22px; top: 22px; }
  .field-inline { grid-template-columns: 1fr; }
  .fab-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .to-top { right: 20px; bottom: 80px; }
  .f-logo img { width: 240px; }
  .logo-frame { --lf-pad: 17px 19px; }
  .logo-frame.lf-lg { --lf-pad: 26px; }
}


/* ---------- zoom gallery: collage that opens one image to full screen on scroll */
.zoom { --ct: 26%; --cl: 31%; position: relative; background: #fff; padding-top: clamp(72px, 9vw, 120px); }
.zoom-head { text-align: center; display: grid; justify-items: center; margin-bottom: 8px; }
.zoom-head h2 { max-width: 760px; }
.zoom-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.zoom-stage { position: absolute; inset: 0; }
.zoom-item { position: absolute; margin: 0; overflow: hidden; border-radius: 18px; z-index: 2; will-change: transform, opacity; box-shadow: 0 20px 50px -30px rgba(38, 40, 42, .45); }
.zoom-item img { width: 100%; height: 100%; object-fit: cover; }
.z-main { inset: 0; border-radius: 0; z-index: 1; box-shadow: none; clip-path: inset(var(--ct) var(--cl) var(--ct) var(--cl) round 24px); will-change: clip-path; }
.z-main > img { position: absolute; inset: 0; transform-origin: center; }
.z-1 { left: 3%;  top: 9%;  width: 19vw; height: 25vh; }
.z-2 { left: 7%;  top: 57%; width: 20vw; height: 30vh; }
.z-3 { left: 34%; top: 3%;  width: 15vw; height: 19vh; }
.z-4 { right: 4%; top: 6%;  width: 21vw; height: 28vh; }
.z-5 { right: 7%; top: 58%; width: 18vw; height: 27vh; }
.z-6 { left: 54%; top: 78%; width: 15vw; height: 18vh; }
.z-7 { left: 23%; top: 40%; width: 6.5vw; height: 15vh; }
.zoom-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 24, .1) 30%, rgba(20, 22, 24, .78)); opacity: 0; }
.zoom-hint { position: absolute; left: 50%; top: calc(100% - var(--ct) - 62px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .92); font: 600 .82rem/1 var(--fb); color: var(--ink); white-space: nowrap; }
.zoom-hint .ic { transform: rotate(90deg); width: 16px; height: 16px; color: var(--green); animation: hint 1.6s var(--ease) infinite; }
@keyframes hint { 50% { transform: rotate(90deg) translateX(4px); } }
.zoom-caption { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 96px); color: #fff; }
.zoom-caption > * { opacity: 0; }
.zoom-caption h3 { color: #fff; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; max-width: 880px; margin-bottom: 18px; }
.zoom-caption p:not(.eyebrow) { color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 560px; margin-bottom: 26px; }
@media (max-width: 760px) {
  .zoom { --ct: 27%; --cl: 11%; }
  .z-1 { left: 4%; top: 4%; width: 42vw; height: 17vh; }
  .z-4 { right: 4%; left: auto; top: 6%; width: 38vw; height: 15vh; }
  .z-2 { left: 6%; top: 77%; width: 40vw; height: 17vh; }
  .z-5 { right: 4%; top: 79%; width: 40vw; height: 16vh; }
  .z-3, .z-6, .z-7 { display: none; }
}
.no-anim .z-main { clip-path: none; }
.no-anim .zoom-item:not(.z-main), .no-anim .zoom-hint { display: none; }
.no-anim .zoom-shade, .no-anim .zoom-caption > * { opacity: 1; }


/* ---------- city strips (universities page): one strip opens at a time as you scroll */
.strips { background: #fff; }
.strips-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: 150px 0 22px; }
.strips-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.strips-head h2 { max-width: 720px; }
.strips-count { display: flex; align-items: baseline; gap: 8px; margin: 0; font-family: var(--fd); white-space: nowrap; }
.strips-count strong { font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--green); letter-spacing: -.03em; }
.strips-count span { color: var(--ink-3); font-weight: 700; }
.strips-count em { font-style: normal; font-weight: 700; font-size: 1.05rem; margin-left: 10px; min-width: 90px; }
.strips-row { flex: 1; min-height: 0; display: flex; gap: 10px; width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.strip { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: var(--soft); outline-offset: 4px; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.strip-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 24, .05) 35%, rgba(20, 22, 24, .78)); }
.strip-label { position: absolute; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); color: #fff; font: 700 1.02rem/1 var(--fd); letter-spacing: .01em; white-space: nowrap; }
.strip-label em { font-style: normal; font-size: .72rem; opacity: .75; }
.strip-body { position: absolute; left: 0; bottom: 0; width: max(100%, 380px); padding: clamp(22px, 3vw, 38px); color: #fff; opacity: 0; }
.strip-body .eyebrow { margin-bottom: 10px; }
.strip-body h3 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.strip-body p:not(.eyebrow) { color: rgba(255, 255, 255, .86); max-width: 420px; margin-bottom: 14px; }
.strip-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.strip-meta span { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 .82rem/1 var(--fb); }
.strips-note { margin-top: 14px; }
@media (max-width: 760px) {
  .strips-pin { padding-top: 112px; }
  .strips-head { margin-bottom: 16px; }
  .strips-count strong { font-size: 1.8rem; }
  .strips-count em { display: none; }
  .strips-row { flex-direction: column; gap: 6px; }
  .strip { border-radius: 14px; }
  .strip-label { writing-mode: horizontal-tb; left: 16px; bottom: 50%; transform: translateY(50%); font-size: .92rem; }
  .strip-body { width: 100%; padding: 18px; }
  .strip-body h3 { font-size: 1.7rem; }
  .strip-body > p:not(.eyebrow):not(.strip-meta) { display: none; }
}
.no-anim .strips-pin { height: auto; padding-top: clamp(72px, 9vw, 120px); }
.no-anim .strips-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.no-anim .strip { aspect-ratio: 3 / 4; }
.no-anim .strip-body { opacity: 1; width: 100%; }
.no-anim .strip-label, .no-anim .strips-count { display: none; }

/* ---------- text mask (about page): zoom through the letters of WITH YOU */
.mask-sec { background: #fff; }
.mask-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.mask-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mask-layer { position: absolute; inset: 0; transform-origin: 50% 50%; }
.mask-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mask-word { font: 900 290px/1 var(--fd); letter-spacing: -6px; }
.mask-eyebrow { position: absolute; left: 0; right: 0; top: 22%; justify-content: center; margin: 0; }
.mask-sub { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; margin: 0; font: 600 clamp(1rem, 1.6vw, 1.25rem)/1.4 var(--fd); color: var(--ink-2); padding: 0 var(--gut); }
.zoom-caption h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; max-width: 880px; margin-bottom: 18px; }
@media (max-width: 760px) { .mask-eyebrow { top: 30%; } .mask-sub { bottom: 30%; } }
.no-anim .mask-layer, .no-anim .mask-eyebrow, .no-anim .mask-sub { display: none; }
.no-anim .mask-shade { opacity: 1; }

/* ---------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-clip] { clip-path: none; }
  .js [data-clip] img { transform: none; }
  .mq-row { animation: none; }
  .hl::after { --hl: 1; }
  .z-main { clip-path: none; }
  .zoom-item:not(.z-main), .zoom-hint { display: none; }
  .zoom-shade, .zoom-caption > * { opacity: 1; }
  .lf-plane, .lf-trail { display: none; }
}
