/* ==========================================================================
   Norvyn — official site styles
   Service colours: study = blue, housing = teal, food = orange
   ========================================================================== */
:root {
  --blue: #1553e0;
  --blue-600: #0f43bd;
  --blue-050: #eaf1ff;
  --navy: #0b1b3a;
  --teal: #0fa59a;
  --teal-050: #e3f7f5;
  --orange: #ff7a2f;
  --orange-050: #fff0e6;
  --gold: #ffb648;
  --ink: #14213d;
  --text: #3a4763;
  --muted: #6b7791;
  --line: #e4e9f2;
  --bg: #f5f8fd;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(15, 40, 90, .10);
  --shadow-sm: 0 6px 20px rgba(15, 40, 90, .07);
  --container: 1240px;
  --header-h: 76px;
  --accent: var(--blue);
  --accent-050: var(--blue-050);
}
.theme-housing { --accent: var(--teal); --accent-050: var(--teal-050); }
.theme-food { --accent: var(--orange); --accent-050: var(--orange-050); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid rgba(21, 83, 224, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 92%; max-width: var(--container); margin: 0 auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px var(--accent); }
.btn-gold { background: var(--gold); color: #3a2500; box-shadow: 0 10px 24px -8px rgba(255, 182, 72, .9); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); font-size: 15px; }
.link-more .icon { transition: transform .2s ease; }
.link-more:hover .icon, a:hover > .link-more .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; min-height: var(--header-h); }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(15, 40, 90, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 21px; color: var(--ink); letter-spacing: -.2px; }
.brand-text b i { font-style: normal; color: var(--blue); }
.brand-text small { font-size: 11.5px; color: var(--muted); letter-spacing: .3px; }

.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 0 14px; height: var(--header-h); font-size: 15px; font-weight: 500; color: var(--ink); position: relative; white-space: nowrap; }
.main-nav > ul > li > a .icon { width: 14px; height: 14px; opacity: .6; transition: transform .2s ease; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s ease; }
.main-nav > ul > li:hover > a, .main-nav > ul > li > a.is-active { color: var(--blue); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.main-nav > ul > li:hover > a .icon { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% - 8px); left: 50%; min-width: 200px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .2s ease; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; color: var(--text); white-space: nowrap; }
.submenu a:hover { background: var(--blue-050); color: var(--blue); }

.header-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.lang-switch button { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.lang-switch button.is-active { background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(15, 40, 90, .12); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); background: var(--bg); }
.nav-toggle .icon { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer-mask { position: absolute; inset: 0; background: rgba(11, 27, 58, .5); opacity: 0; transition: opacity .25s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; padding: 20px 22px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; gap: 8px; }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer-mask { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav > li > a { display: block; padding: 14px 2px; font-weight: 600; color: var(--ink); }
.drawer-nav .sub { padding: 0 0 12px 12px; display: grid; gap: 2px; }
.drawer-nav .sub a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted); }
.drawer .btn { margin-top: 16px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-slides { position: relative; display: grid; }
.hero-slide { position: relative; grid-area: 1 / 1; min-height: 640px; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; padding: 64px 0 130px; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.hero-slide.s-study::before { background: radial-gradient(900px 500px at 85% 10%, rgba(64, 140, 255, .55), transparent 60%), linear-gradient(120deg, #0a2a6b 0%, #1553e0 60%, #2a7bff 100%); }
.hero-slide.s-housing::before { background: radial-gradient(900px 500px at 85% 10%, rgba(64, 226, 208, .45), transparent 60%), linear-gradient(120deg, #06344a 0%, #0b7f86 55%, #12b3a4 100%); }
.hero-slide.s-food::before { background: radial-gradient(900px 500px at 85% 10%, rgba(255, 196, 92, .5), transparent 60%), linear-gradient(120deg, #7a2408 0%, #e2581a 55%, #ff8f3d 100%); }
.hero-slide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 320px; background: url(../img/skyline.svg) center bottom / cover no-repeat; z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; font-weight: 600; letter-spacing: .3px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 182, 72, .25); }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12; letter-spacing: -.8px; margin: 20px 0 18px; font-weight: 800; }
.hero h1 em, .hero .h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--gold); }
.hero-slide.is-active .hero-copy > * { animation: rise .7s ease both; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-slide.is-active .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-slide.is-active .hero-art { animation: rise .9s .15s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .4); transition: all .3s ease; }
.hero-dots button.is-active { width: 34px; background: #fff; }
.hero-arrow { position: absolute; top: 46%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.hero-arrow:hover { background: rgba(255, 255, 255, .28); }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }
.hero-arrow.prev .icon { transform: rotate(180deg); }

/* Hero mock cards */
.hero-art { position: relative; display: flex; justify-content: center; }
.mock { width: min(100%, 400px); background: #fff; color: var(--text); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -20px rgba(4, 16, 50, .55); position: relative; animation: float 7s ease-in-out infinite; }
.mock-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 16px; }
.mock-badge { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-050); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.mock-badge .icon { width: 24px; height: 24px; }
.mock-head b { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.mock-head small { color: var(--muted); font-size: 12.5px; }
.mock-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.mock-steps .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.mock-steps .tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.mock-steps li.todo { color: var(--muted); }
.mock-steps li.todo .tick { background: var(--line); color: var(--muted); }
.mock-steps li span.tag { margin-left: auto; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--accent-050); color: var(--accent); }
.mock-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; font-size: 13.5px; box-shadow: 0 16px 40px -10px rgba(4, 16, 50, .45); }
.mock-chip .icon { color: var(--accent); }
.mock-chip.c1 { top: -18px; right: -14px; animation: float 6s 1s ease-in-out infinite; }
.mock-chip.c2 { bottom: -18px; left: -22px; animation: float 6s .3s ease-in-out infinite; }
.mock-photo { height: 150px; border-radius: 14px; margin-bottom: 16px; position: relative; overflow: hidden; background: linear-gradient(160deg, #bdebe6, #e9faf7); }
.mock-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mock-tags span { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--accent-050); color: var(--accent); }
.mock h4 { font-size: 16.5px; }
.mock p.sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.dish { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dish:last-of-type { border-bottom: 0; }
.dish .thumb { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-050); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.dish b { display: block; color: var(--ink); font-size: 14.5px; line-height: 1.35; }
.dish small { color: var(--muted); font-size: 12.5px; }
.dish .lbl { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--teal-050); color: var(--teal); white-space: nowrap; }
.mock-foot { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent); color: #fff; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }

/* ---------- Service cards (overlap hero) ---------- */
.services { position: relative; z-index: 5; margin-top: -70px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(15, 40, 90, .16); }
.service-card .ico { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--accent-050); color: var(--accent); margin-bottom: 6px; }
.service-card .ico .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; }
.service-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.service-card.c-study { --accent: var(--blue); --accent-050: var(--blue-050); }
.service-card.c-housing { --accent: var(--teal); --accent-050: var(--teal-050); }
.service-card.c-food { --accent: var(--orange); --accent-050: var(--orange-050); }
.service-card.c-arrival { --accent: #7a4df0; --accent-050: #efe9ff; }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover::after { transform: scaleX(1); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head h2, .h2 { font-size: clamp(27px, 3.2vw, 38px); letter-spacing: -.4px; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.section-foot { text-align: center; margin-top: 44px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; padding: 0 28px 28px 0; }
.scene { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #1553e0 0%, #5a9bff 45%, #ffd9a8 100%); box-shadow: var(--shadow); }
.scene .sun { position: absolute; right: 16%; top: 30%; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, #fff6d8 0%, #ffd27a 60%, rgba(255, 210, 122, 0) 72%); }
.scene .sky { position: absolute; left: 0; right: 0; bottom: 0; height: 78%; background: url(../img/skyline-dark.svg) center bottom / cover no-repeat; opacity: .9; }
.scene .plane { position: absolute; left: 14%; top: 16%; color: #fff; width: 44px; height: 44px; transform: rotate(-12deg); opacity: .95; }
.scene .plane .icon { width: 100%; height: 100%; }
.scene .trail { position: absolute; left: 0; top: 29%; width: 16%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8)); transform: rotate(-12deg); transform-origin: right; }
.about-badge { position: absolute; right: 0; bottom: 0; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.about-badge .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.about-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { margin-bottom: 14px; }
.check-list { display: grid; gap: 10px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .icon { color: var(--accent); margin-top: 4px; stroke-width: 2.4; }

/* Stats band */
.band { position: relative; color: #fff; background: linear-gradient(120deg, #0a2a6b, #1553e0); overflow: hidden; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: url(../img/skyline.svg) center bottom / cover no-repeat; opacity: .7; pointer-events: none; }
.band .container { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, .8); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }
.stat b { display: block; font-size: 46px; line-height: 1.1; font-weight: 800; color: #fff; letter-spacing: -1px; }
.stat b sup { font-size: .5em; color: var(--gold); margin-left: 2px; vertical-align: super; }
.stat > span { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tiles.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tiles.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.tile .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-050); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tile .ico .icon { width: 26px; height: 26px; }
.tile h3 { font-size: 18.5px; margin-bottom: 8px; }
.tile p { font-size: 14.8px; color: var(--muted); }
.tile ul.bullets { margin-top: 12px; display: grid; gap: 6px; font-size: 14.5px; color: var(--text); }
.tile ul.bullets li { padding-left: 16px; position: relative; }
.tile ul.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* University cards */
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uni { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow .25s ease, transform .25s ease; }
.uni:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.uni .mono { width: 68px; height: 54px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12.5px; letter-spacing: .2px; color: #fff; background: linear-gradient(135deg, #1e6bff, #0b2f8f); }
.uni:nth-child(3n+2) .mono { background: linear-gradient(135deg, #18c1b1, #0b7f86); }
.uni:nth-child(3n) .mono { background: linear-gradient(135deg, #ff9a4d, #e2581a); }
.uni h3 { font-size: 16.5px; line-height: 1.35; }
.uni p { font-size: 13.8px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.uni .loc { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.uni .loc .icon { width: 14px; height: 14px; }
.note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 26px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; position: relative; }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 18px 22px; border: 1px solid var(--line); counter-increment: step; text-align: center; }
.step::before { content: counter(step, decimal-leading-zero); display: flex; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--accent); box-shadow: 0 8px 18px -6px var(--accent); }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 13.8px; color: var(--muted); line-height: 1.55; }

/* Split promos (housing / food) */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.promo { position: relative; border-radius: 24px; padding: 44px 40px; color: #fff; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; align-items: flex-start; }
.promo.p-housing { background: linear-gradient(140deg, #06344a, #0fa59a); }
.promo.p-food { background: linear-gradient(140deg, #9a2f0a, #ff8f3d); }
.promo .big-ico { position: absolute; right: -30px; bottom: -40px; width: 260px; height: 260px; color: rgba(255, 255, 255, .13); }
.promo .big-ico .icon { width: 100%; height: 100%; stroke-width: 1; }
.promo .kicker { color: var(--gold); }
.promo h3 { color: #fff; font-size: 29px; margin-bottom: 12px; max-width: 420px; }
.promo p { color: rgba(255, 255, 255, .88); max-width: 430px; }
.promo ul { margin: 18px 0 28px; display: grid; gap: 8px; font-size: 15px; position: relative; z-index: 1; }
.promo ul li { display: flex; gap: 9px; align-items: center; }
.promo ul .icon { color: var(--gold); stroke-width: 2.4; }
.promo .btn { margin-top: auto; background: #fff; color: var(--ink); position: relative; z-index: 1; }

/* Guide / article cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .cover { height: 150px; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.card .cover .icon { width: 56px; height: 56px; stroke-width: 1.3; position: relative; z-index: 1; }
.card .cover::after { content: ""; position: absolute; inset: 0; background: url(../img/skyline.svg) center bottom / 900px auto no-repeat; opacity: .8; }
.cover.g1 { background: linear-gradient(135deg, #1553e0, #5a9bff); }
.cover.g2 { background: linear-gradient(135deg, #0b7f86, #2dd4c4); }
.cover.g3 { background: linear-gradient(135deg, #e2581a, #ffb648); }
.cover.g4 { background: linear-gradient(135deg, #5b3bd6, #a48bff); }
.cover.g5 { background: linear-gradient(135deg, #0a2a6b, #1e6bff); }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent); background: var(--accent-050); padding: 3px 10px; border-radius: 999px; }
.card h3 { font-size: 17.5px; line-height: 1.4; }
.card p { font-size: 14.3px; color: var(--muted); flex: 1; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); line-height: 1; transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text); font-size: 15.3px; }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.channel-list { display: grid; gap: 14px; margin-top: 30px; }
.channel { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: box-shadow .2s ease, transform .2s ease; }
a.channel:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.channel .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-050); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.channel .ico .icon { width: 24px; height: 24px; }
.channel b { display: block; color: var(--ink); font-size: 16px; line-height: 1.35; }
.channel span { font-size: 14px; color: var(--muted); }
.form-card { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 23px; }
.form-card > p { color: var(--muted); font-size: 14.8px; margin: 6px 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; outline: none; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(21, 83, 224, .12); }
.field.has-error input, .field.has-error textarea { border-color: #e5484d; }
.form-card .btn { width: 100%; margin-top: 18px; }
.form-msg { margin-top: 14px; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; display: none; }
.form-msg.ok { display: block; background: var(--teal-050); color: #0b6e66; }
.form-msg.err { display: block; background: #ffecec; color: #b3261e; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 60px 56px; color: #fff; background: linear-gradient(120deg, #0a2a6b, #1553e0 70%, #2a7bff); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.theme-housing .cta { background: linear-gradient(120deg, #06344a, #0fa59a); }
.theme-food .cta { background: linear-gradient(120deg, #9a2f0a, #ff8f3d); }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: url(../img/skyline.svg) center bottom / cover no-repeat; opacity: .6; pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); }
.cta p { color: rgba(255, 255, 255, .86); margin-top: 8px; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; color: #fff; padding: 84px 0 96px; overflow: hidden; background: linear-gradient(120deg, #0a2a6b 0%, #1553e0 65%, #2a7bff 100%); }
.theme-housing .page-hero { background: linear-gradient(120deg, #06344a 0%, #0b7f86 55%, #12b3a4 100%); }
.theme-food .page-hero { background: linear-gradient(120deg, #7a2408 0%, #e2581a 55%, #ff8f3d 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: url(../img/skyline.svg) center bottom / cover no-repeat; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.6px; max-width: 820px; }
.page-hero p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 680px; }
.page-hero .hero-cta { margin-top: 28px; }
.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a { display: block; padding: 15px 16px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.anchor-nav a:hover { color: var(--accent); border-color: var(--accent); }

/* Program table-ish rows */
.rows { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.row h3 { font-size: 18px; }
.row h3 small { display: block; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 3px; }
.row p { font-size: 14.8px; color: var(--muted); }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; background: var(--accent-050); color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips span { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink); }

/* Split feature (text + art) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .hero-art { padding: 24px; }
.split-art { border-radius: 26px; background: var(--accent-050); padding: 44px 30px; display: flex; justify-content: center; }

/* Articles (guides page) */
.article-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.toc b { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 8px 10px; border-radius: 9px; font-size: 14.5px; font-weight: 500; }
.toc a:hover { background: var(--blue-050); color: var(--blue); }
.article { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.article:last-of-type { border-bottom: 0; margin-bottom: 0; }
.article h2 { font-size: 28px; margin: 10px 0 14px; }
.article h3 { font-size: 18px; margin: 24px 0 8px; }
.article p { margin-bottom: 12px; }
.article ul.bullets { display: grid; gap: 8px; margin: 8px 0 14px; }
.article ul.bullets li { padding-left: 20px; position: relative; }
.article ul.bullets li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.callout { background: var(--orange-050); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 14px 18px; font-size: 14.5px; color: #6b3410; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: 44px; padding: 68px 0 48px; }
.site-footer .brand-text b { color: #fff; } .site-footer .brand-text b i { color: var(--gold); }
.site-footer .brand-text small { color: rgba(255, 255, 255, .6); }
.footer-about p { margin-top: 18px; line-height: 1.75; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--gold); }
.qr-row { display: flex; gap: 14px; margin-top: 20px; }
.qr { text-align: center; font-size: 12.5px; }
.qr .box { width: 84px; height: 84px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; font-weight: 600; margin-bottom: 6px; overflow: hidden; line-height: 1.3; padding: 6px; }
.qr .box img { width: 100%; height: 100%; object-fit: cover; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* Floating actions */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: grid; gap: 10px; }
.float-bar a, .float-bar button { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 10px 28px rgba(15, 40, 90, .18); display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease, color .2s ease; }
.float-bar a:hover, .float-bar button:hover { transform: translateY(-3px); background: var(--blue); color: #fff; }
.float-bar .icon { width: 22px; height: 22px; }
.float-bar .to-top { opacity: 0; visibility: hidden; transition: all .25s ease; }
.float-bar .to-top.show { opacity: 1; visibility: visible; }
.mobile-bar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) { .hero-arrow { display: none; } }
@media (max-width: 1180px) {
  .main-nav, .header-tools .btn { display: none; }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .section { padding: 68px 0; }
  .hero-grid, .about-grid, .contact-grid, .promo-grid, .split, .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-slide { min-height: 0; padding: 48px 0 120px; }
  .hero-art { display: none; }
  .split .hero-art, .split-art .hero-art { display: flex; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 84px; }
  .tiles, .uni-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .toc { position: static; }
  .cta { padding: 44px 30px; }
  .float-bar { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 40, 90, .08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 7px; font-size: 11.5px; font-weight: 600; color: var(--text); }
  .mobile-bar a .icon { width: 21px; height: 21px; color: var(--blue); }
  body { padding-bottom: 58px; }
}
@media (max-width: 600px) {
  .brand-text small { display: none; }
  .service-grid, .tiles, .tiles.cols-4, .tiles.cols-2, .uni-grid, .card-grid, .card-grid.cols-3, .steps, .steps.cols-4, .steps.cols-3, .form-grid, .footer-main { grid-template-columns: 1fr; }
  .stats { gap: 12px; } .stat b { font-size: 36px; }
  .services { margin-top: -56px; }
  .promo { padding: 34px 26px; min-height: 0; }
  .form-card { padding: 26px 20px; }
  .about-visual { padding: 0 14px 22px 0; }
  .hero-lead, .page-hero p { font-size: 16.5px; }
  .footer-main { gap: 32px; padding: 48px 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
