/* ============================================================================
   Innovation Student Consultancy - "Aurora Path" theme.
   Tokens live in tokens.css. Light theme, flat outlined cards (shadows only on floating
   things), one saturated aurora panel per page (the CTA band). Vanilla, CSP-safe.
   Legacy class names (ds-card, page-hero, chip, btn-amber ...) are kept so every inner
   page picks up the new look.
   ========================================================================== */

/* ── Base ──────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); margin: 0; line-height: var(--lh-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .head { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.18; letter-spacing: -.01em; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4, html[lang="bn"] h5, html[lang="bn"] .head { letter-spacing: 0; line-height: 1.35; }
a { color: var(--ocean); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 3000; background: #fff; color: var(--navy); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { left: 12px; }

.text-brand { color: var(--ocean) !important; }
.bg-soft { background: var(--mist-50); }
.fw-head { font-family: var(--font-head); }
.min-w-0 { min-width: 0; }

/* ── Eyebrow / dividers (swoosh motif) ─────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .78rem; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ocean); }
.eyebrow::before { content: ""; width: .55rem; height: .55rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); flex: 0 0 auto; }
html[lang="bn"] .eyebrow { text-transform: none; font-size: .9rem; }
.lane-dash { height: 4px; width: 64px; background: var(--grad-spark); border-radius: 4px; }
.lane-dash.center { margin-inline: auto; }
.heading-underline { position: relative; display: inline-block; padding-bottom: .5rem; }
.heading-underline::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--orange), rgba(247,126,54,0)); border-radius: 4px; }
.section-head { margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); margin: .55rem 0 .6rem; }
.section-head p { color: var(--muted); max-width: 44rem; margin: 0; }

/* ── Buttons (controls radius; no pills among square cards) ────────────── */
.btn { font-weight: 700; border-width: 2px; border-radius: var(--radius-sm); padding: .64rem 1.3rem; transition: transform .15s, background .2s, border-color .2s, color .2s, filter .2s; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .38rem .8rem; }
.btn-brand { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.btn-brand:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-amber { background: var(--grad-spark); color: var(--navy-900); border-color: transparent; }
.btn-amber:hover { color: var(--navy-900); filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline-brand { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn-outline-brand:hover { background: var(--ocean); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: #fff; }
.section.soft { background: var(--mist-50); }
.section.asphalt { background: var(--navy-900); color: #DCE7F0; }
.section.asphalt h2, .section.asphalt h3 { color: #fff; }

/* ── Notice bar ────────────────────────────────────────────────────────── */
.notice-bar { font-size: .88rem; font-weight: 600; padding: .45rem 0; }
.notice-bar a { color: inherit; text-decoration: underline; }

/* ── Header (solid, no blur/transform: keeps the fixed drawer + CLS clean) ── */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.shrink { box-shadow: 0 6px 24px rgba(11,34,55,.10); }
.site-header .navbar { padding: .55rem 0; }
.site-header .navbar > .container { flex-wrap: nowrap; }
.brand-lockup { display: flex; align-items: center; gap: .6rem; min-width: 0; flex: 0 1 auto; margin-right: .6rem; padding: 0; }
.brand-lockup img { height: 44px; width: auto; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-sub { font-size: .6rem; font-weight: 700; letter-spacing: .09em; color: var(--ocean); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="bn"] .brand-name { text-transform: none; letter-spacing: 0; font-size: 1.2rem; }
html[lang="bn"] .brand-sub { text-transform: none; letter-spacing: 0; font-size: .72rem; }
.navbar .nav-link { color: var(--ink); font-weight: 600; padding: .5rem .8rem; border-radius: var(--radius-sm); background: transparent; border: 0; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: var(--ocean); background: var(--mist-50); }
.navbar .dropdown-toggle::after { margin-left: .4em; vertical-align: .15em; }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-float); padding: .5rem; min-width: 14rem; }
.dropdown-item { border-radius: 8px; font-weight: 600; padding: .5rem .8rem; color: var(--ink); }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { background: var(--mist-50); color: var(--ocean); }
.lang-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.lang-seg a { padding: .38rem .7rem; font-weight: 700; font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }
.lang-seg a.on { background: var(--navy); color: #fff; }
.lang-seg a:not(.on):hover { background: var(--mist-50); color: var(--ocean); }
.navbar-toggler { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .4rem .6rem; }
.offcanvas-header { border-bottom: 1px solid var(--line); }
@media (max-width: 1199.98px) {
    .offcanvas-xl { background: #fff; }
    .offcanvas-body .navbar-nav { gap: .15rem; }
    .navbar .nav-link { padding: .75rem .9rem; }
    .navbar .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 .4rem 1rem; }
    .nav-actions { margin-top: 1rem; }
}

/* ── Cards (flat + outlined; NEVER height:100% on the base class - use .h-100 in grids) ── */
.ds-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: transform .25s var(--ease-out), border-color .25s; }
.ds-card:hover { transform: translateY(-3px); border-color: var(--sky); }
a.ds-card { color: inherit; }
.ds-card-body { padding: 1.4rem; }
.course-card { border-left: 4px solid var(--orange); }
.ds-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--mist-50); }
.ds-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ds-card:hover .ds-thumb img { transform: scale(1.05); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.form-card li.d-flex { gap: 1rem; }
.form-card li.d-flex > span:last-child { text-align: right; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--mist-50); color: var(--navy); }
.chip.amber { background: var(--accent-soft); color: var(--orange-ink); }
.price-tag { font-family: var(--font-head); font-weight: 800; color: var(--ocean); }
.icon-badge, .brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--mist-50); color: var(--ocean); display: inline-grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; }
.rating-star { color: var(--orange); }
.flag-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.flag-chip img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }
.rank-pill { background: var(--mist-50); color: var(--navy); font-weight: 700; font-size: .74rem; padding: .2rem .6rem; border-radius: 999px; }
.stamp { display: inline-grid; place-items: center; text-align: center; padding: .4rem .7rem; border: 2px dashed var(--ocean); border-radius: var(--radius-sm); color: var(--ocean); font-weight: 800; font-size: .72rem; letter-spacing: .06em; background: rgba(20,81,139,.04); }
.stamp.sky { border-color: var(--orange); color: var(--orange-ink); background: rgba(247,126,54,.06); }
.route-line { display: flex; align-items: center; gap: .5rem; color: var(--orange); }
.route-line .line { height: 0; flex: 1 1 auto; border-top: 2px dashed currentColor; opacity: .8; }
.pass-card { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: transform .25s var(--ease-out), border-color .25s; }
.pass-card:hover { transform: translateY(-3px); border-color: var(--sky); }
.pass-card .stub { flex: 0 0 84px; background: var(--mist-50); color: var(--navy); display: grid; place-items: center; padding: .8rem; text-align: center; border-right: 1px dashed var(--line-strong); }
.pass-card .stub .code { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.pass-card .stub .code small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .1em; opacity: .8; }
.pass-card .pass-body { padding: 1.1rem 1.2rem; flex: 1 1 auto; min-width: 0; }
.dest-tile { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/5; display: block; border: 1px solid var(--line); }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.dest-tile:hover img { transform: scale(1.05); }
.dest-tile .dest-cap { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(transparent, rgba(11,34,55,.85)); color: #fff; }
.dest-tile .dest-cap h5 { color: #fff; margin: 0; }
.instructor-card .photo { aspect-ratio: 1/1; overflow: hidden; }
.instructor-card .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Monogram (university / counsellor initials - no official logos, no stock faces) ── */
.mono { width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: var(--ocean); flex: 0 0 auto; letter-spacing: .02em; }
.mono.uas { background: var(--orange); color: var(--navy-900); }
.mono.lg { width: 56px; height: 56px; border-radius: 14px; font-size: 1.1rem; }
.avatar-ph { display: grid; place-items: center; background: var(--mist-50); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; color: var(--ink-soft); }
.check-list li::before { content: ""; flex: 0 0 .55rem; height: .55rem; margin-top: .5rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.mono.xl { width: 96px; height: 96px; border-radius: 24px; font-size: 2rem; }

/* ── Page hero (inner pages): navy band with aurora glow ───────────────── */
.page-hero { background: var(--navy-900); color: #fff; padding: 60px 0 52px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -8%; top: -70%; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(116,220,249,.30), transparent); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-aurora); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #7F95A8; margin: 0 0 .8rem; }
.page-hero .breadcrumb a { color: #B9C9D8; }
.page-hero .breadcrumb .active { color: var(--cyan); }
.page-hero .chip { background: rgba(255,255,255,.12); color: #fff; }
.page-hero .chip.amber { background: rgba(247,126,54,.22); color: #FFD7BF; }

/* ── Home hero ─────────────────────────────────────────────────────────── */
.hero-a { position: relative; padding: 52px 0 72px; overflow: hidden; }
.hero-a::before { content: ""; position: absolute; right: -12%; top: -24%; width: 680px; height: 680px; background: radial-gradient(closest-side, rgba(116,220,249,.40), transparent); pointer-events: none; }
.hero-a::after { content: ""; position: absolute; left: -6%; bottom: 8px; width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(247,126,54,.15), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; margin: 1rem 0 1.1rem; }
.hero-copy h1 .hl { background: linear-gradient(100deg, var(--navy) 0%, var(--ocean) 55%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="bn"] .hero-copy h1 { font-weight: 700; }
.hero-copy .lead { color: var(--ink-soft); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 36rem; }
.eyebrow-chip { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem .35rem .7rem; font-size: .84rem; font-weight: 700; color: var(--navy); }
.eyebrow-chip .spark { width: .6rem; height: .6rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.trust-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.8rem; color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.trust-chips span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-chips i { color: var(--ocean); }
.hero-art { position: relative; width: 100%; max-width: 470px; margin-inline: auto; }
.hero-art::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--orange); border-radius: 240px 240px 28px 28px; opacity: .45; }
.hero-photo { position: relative; display: block; width: 100%; aspect-ratio: 480 / 580; object-fit: cover; border-radius: 240px 240px 22px 22px; }
.hero-art svg { position: relative; display: block; width: 100%; height: auto; border-radius: 240px 240px 22px 22px; }
.hero-chip { position: absolute; display: flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem .85rem .5rem .5rem; font-weight: 700; font-size: .84rem; color: var(--navy); box-shadow: var(--shadow-float); will-change: transform; z-index: 2; }
.hero-chip i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--mist-50); color: var(--ocean); }
.hero-chip.c2 i { background: #FFE9DC; color: var(--orange-ink); }
.hero-chip.c1 { top: 13%; left: -9%; }
.hero-chip.c2 { top: 47%; right: -9%; }
.hero-chip.c3 { bottom: 11%; left: -5%; }
.js .swoosh-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ds-draw 1.7s .35s var(--ease-out) forwards; }
@keyframes ds-draw { to { stroke-dashoffset: 0; } }
.js .spark-star { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ds-spark-in .6s 1.85s forwards, ds-twinkle 1.2s 2.5s 3 ease-in-out; }
@keyframes ds-spark-in { from { opacity: 0; transform: scale(.2) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes ds-twinkle { 50% { transform: scale(1.25) rotate(12deg); } }

/* ── Stats strip + institution rail ────────────────────────────────────── */
.stats-strip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 1.3rem .6rem; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; margin-top: -28px; }
.stat-cell { padding: .3rem 1.2rem; border-left: 1px solid var(--line); min-width: 0; }
.stat-cell:first-child { border-left: 0; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; color: var(--navy); line-height: 1; }
.stat-num .suffix { color: var(--orange-ink); }
.stat-label { color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: .35rem; }
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy); line-height: 1; }
.stat-item .num .suffix { color: var(--orange-ink); }
.stat-item .label { color: var(--muted); font-weight: 600; margin-top: .3rem; }
.rail { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .25rem .1rem 1rem; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.rail-chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem .35rem .4rem; font-weight: 600; font-size: .88rem; color: var(--ink); white-space: nowrap; }
.rail-chip:hover { border-color: var(--sky); color: var(--navy); }
.rail-chip .mono { width: 28px; height: 28px; font-size: .68rem; border-radius: 8px; }

/* ── Destinations ──────────────────────────────────────────────────────── */
.dest-feature { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; }
.dest-feature::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(116,220,249,.35), transparent); pointer-events: none; }
.dest-flag { width: 84px; height: 52px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.dest-feature h3 { font-size: 1.7rem; margin: 0 0 .4rem; }
.dest-feature p { color: var(--ink-soft); }
.tile-soon { display: block; border: 2px dashed var(--line-strong); border-radius: var(--radius-card); padding: 1.3rem 1.4rem; color: inherit; background: transparent; transition: border-color .2s, background .2s; }
.tile-soon:hover { border-color: var(--sky); background: #fff; color: inherit; }
.tile-soon h4 { font-size: 1.05rem; margin: .5rem 0 .3rem; }
.tile-soon p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ── University explorer ───────────────────────────────────────────────── */
.tabs-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; padding: 4px; gap: 4px; }
.tabs-seg button, .tabs-seg a { border: 0; background: transparent; padding: .55rem 1rem; border-radius: 7px; font-weight: 700; color: var(--ink-soft); font-size: .92rem; line-height: 1.3; }
.tabs-seg button:hover, .tabs-seg a:hover { background: var(--mist-50); color: var(--ocean); }
.tabs-seg button[aria-selected="true"], .tabs-seg a.on { background: var(--navy); color: #fff; }
.search-box { position: relative; min-width: min(100%, 260px); }
.search-box i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input { padding-left: 2.3rem; }
.uni-card { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); transition: border-color .2s, transform .2s var(--ease-out); min-width: 0; }
.uni-card:hover { border-color: var(--sky); transform: translateY(-2px); }
.uni-card .mono { width: 44px; height: 44px; font-size: .92rem; border-radius: 12px; }
.uni-name { font-weight: 700; color: var(--navy); line-height: 1.25; display: block; }
.uni-name:hover { color: var(--ocean); }
.uni-city { font-size: .85rem; color: var(--muted); }
.uni-actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.uni-actions a { font-size: .8rem; font-weight: 700; }
[hidden] { display: none !important; }

/* ── Services bento ────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.bento-tile { grid-column: span 3; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem; color: inherit; transition: border-color .25s, transform .25s var(--ease-out); min-width: 0; }
.bento-tile:hover { border-color: var(--sky); transform: translateY(-3px); color: inherit; }
.bento-tile.lg { grid-column: span 6; background: var(--mist-50); border-color: var(--mist); }
.bento-tile.lg .icon-badge { background: #fff; }
.bento-tile h3 { font-size: 1.1rem; margin: 1rem 0 .4rem; }
.bento-tile.lg h3 { font-size: 1.35rem; }
.bento-tile p { color: var(--ink-soft); margin: 0; font-size: .94rem; }
.bento-tile .go { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-weight: 700; font-size: .88rem; color: var(--ocean); }

/* ── Process: steps hung on the scroll-drawn swoosh ────────────────────── */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; }
.process-intro { position: sticky; top: 112px; }
.steps { position: relative; padding-left: 68px; }
.steps-line { position: absolute; left: 8px; top: 0; bottom: 0; width: 26px; }
.steps-line svg { width: 100%; height: 100%; display: block; overflow: visible; }
.steps-track { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.steps-progress { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.step { position: relative; padding-bottom: 1.5rem; }
.step:last-child { padding-bottom: 0; }
.step-node { position: absolute; left: -68px; top: .15rem; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); display: grid; place-items: center; font-weight: 800; color: var(--navy); z-index: 1; transition: background .3s, border-color .3s, color .3s; }
.step.in .step-node { background: var(--grad-spark); border-color: transparent; color: var(--navy-900); }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.1rem 1.3rem; }
.step-card h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.step-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ── Why Finland ───────────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: center; }
.why-big { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.1; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.why-item { display: flex; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1rem 1.1rem; font-weight: 600; color: var(--ink); min-width: 0; }
.why-item::before { content: ""; flex: 0 0 auto; width: .6rem; height: .6rem; margin-top: .5rem; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }

/* ── Stories rail ──────────────────────────────────────────────────────── */
.rail-cards { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; scrollbar-width: thin; }
.quote-card { flex: 0 0 min(86%, 360px); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.quote-card blockquote { margin: 0; color: var(--ink-soft); font-size: .98rem; flex: 1 1 auto; }
.quote-card .who { display: flex; align-items: center; gap: .7rem; }
.quote-card .who strong { display: block; color: var(--navy); line-height: 1.2; }
.quote-card .who small { color: var(--muted); }
@media (min-width: 992px) { .quote-card { flex-basis: calc((100% - 2rem) / 3); } }

/* ── Events ────────────────────────────────────────────────────────────── */
.date-badge { flex: 0 0 64px; border-radius: 12px; background: var(--mist-50); text-align: center; padding: .45rem 0; line-height: 1.1; color: var(--navy); }
.date-badge .d { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; display: block; }
.date-badge .m { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
html[lang="bn"] .date-badge .m { text-transform: none; letter-spacing: 0; font-size: .85rem; }

/* ── FAQ accordion ─────────────────────────────────────────────────────── */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius-card) !important; margin-bottom: .7rem; overflow: hidden; background: #fff; }
.accordion-button { font-weight: 700; color: var(--navy); background: #fff; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: var(--mist-50); color: var(--navy); }
.accordion-body { color: var(--ink-soft); }

/* ── CTA band: the single saturated aurora panel ───────────────────────── */
.cta-band { position: relative; overflow: hidden; background: var(--grad-aurora); border-radius: var(--radius-panel); padding: 2.6rem; color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band p { color: #E3F1FA; }
.cta-form { background: #fff; border-radius: var(--radius-card); padding: 1.4rem; color: var(--ink); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: #B9C9D8; }
.foot-accent { height: 4px; background: var(--ocean); position: relative; }
.foot-accent::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 120px; background: var(--orange); }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #B9C9D8; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.site-footer .form-control::placeholder { color: #8DA3B6; }
.logo-badge { display: inline-block; background: #fff; border-radius: 14px; padding: .45rem .7rem; }
.logo-badge img { height: 88px; width: auto; display: block; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); color: #93A8BA; }
.social-links { display: flex; gap: .6rem; }
.social-links a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.social-links a:hover { border-color: var(--cyan); }

/* ── Floating actions, mobile dock, back-to-top ────────────────────────── */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; }
.float-actions a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-float); font-size: 1.3rem; }
.fa-wa { background: #1FA855; }
.fa-call { background: var(--ocean); }
.fa-top { position: fixed; left: 18px; bottom: 18px; z-index: 1040; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; border: none; display: none; place-items: center; box-shadow: var(--shadow-float); }
.fa-top.show { display: grid; }
.mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,34,55,.12); display: flex; gap: .5rem; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); }
.mobile-dock a { flex: 1; min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; font-size: .72rem; font-weight: 700; color: var(--ink-soft); border-radius: var(--radius-sm); }
.mobile-dock a i { font-size: 1.15rem; color: var(--ocean); }
.mobile-dock a.dock-cta { flex: 2.2; flex-direction: row; gap: .5rem; background: var(--grad-spark); color: var(--navy-900); font-size: .95rem; }
.mobile-dock a.dock-cta i { color: var(--navy-900); }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-label { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line-strong); padding: .62rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--ocean); box-shadow: 0 0 0 .2rem rgba(20,81,139,.18); }
.form-check-input:checked { background-color: var(--ocean); border-color: var(--ocean); }

/* ── Cookie banner ─────────────────────────────────────────────────────── */
#ds-cookie { box-shadow: var(--shadow-pop); }

/* =========================================================================
   MANDATORY MOBILE SAFETY-NET (PP-WORKFLOW 12.1)
   ========================================================================= */
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
table { max-width: 100%; }
.container, .container-fluid { overflow-wrap: break-word; }
h1, h2, h3, h4, p, a, span, li { overflow-wrap: break-word; }
@media (max-width: 1199.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } }

@media (max-width: 991.98px) {
    .section { padding: 60px 0; }
    .hero-grid, .process, .why, .cta-grid { grid-template-columns: 1fr; gap: 2rem; }
    .process-intro { position: static; }
    .hero-art { max-width: 380px; }
    .hero-chip.c1 { left: 0; } .hero-chip.c2 { right: 0; } .hero-chip.c3 { left: 4%; }
    .bento-tile { grid-column: span 6; }
    .bento-tile.lg { grid-column: span 12; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
    .stat-cell:nth-child(3) { border-left: 0; }
}
@media (max-width: 767.98px) {
    .section, .page-hero { padding: 44px 0; }
    .hero-a { padding: 32px 0 48px; }
    .site-footer { padding-bottom: 76px; }
    .fa-top { bottom: 82px; }
    #ds-cookie { bottom: 72px !important; }
    .cta-band { padding: 1.6rem 1.2rem; }
    .dest-feature { grid-template-columns: 1fr; padding: 1.3rem; }
    .why-list { grid-template-columns: 1fr; }
    .steps { padding-left: 58px; }
    .step-node { left: -58px; width: 38px; height: 38px; }
    .stat-num { font-size: 1.9rem; }
    .uni-actions .ask { display: none; }
}
@media (max-width: 575.98px) {
    .section { padding: 38px 0; }
    .bento-tile, .bento-tile.lg { grid-column: span 12; }
    .btn { padding: .58rem 1.1rem; }
    .btn-lg { padding: .75rem 1.3rem; }
    .brand-lockup { gap: .4rem; margin-right: .3rem; }
    .brand-lockup img { height: 32px; }
    .brand-name { font-size: .98rem; }
    .brand-sub { font-size: .46rem; letter-spacing: .05em; }
    .lang-seg a { padding: .32rem .5rem; font-size: .8rem; }
}
@media print {
    .site-header, .site-footer, .float-actions, .fa-top, .notice-bar, .mobile-dock, #ds-cookie { display: none !important; }
    body { background: #fff; }
}

/* ===== 404 page ===== */
.nf-panel { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(1.5rem, 4vw, 3rem); }
.nf-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4.5rem, 13vw, 8rem); line-height: 1; color: var(--ocean); position: relative; padding-bottom: .6rem; }
.nf-code::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64%; height: 6px; border-radius: 6px; background: var(--grad-spark); }
.nf-search { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 32rem; }
.nf-search .search-box { flex: 1 1 14rem; }
.nf-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.nf-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ocean); font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .2s, transform .2s; }
.nf-links a:hover { border-color: var(--sky); transform: translateY(-2px); }
@media (max-width: 767.98px) { .nf-panel { grid-template-columns: 1fr; text-align: left; } .nf-code { font-size: 4.5rem; } }

/* ===== Share row (detail pages) ===== */
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.share-label { font-weight: 700; font-size: .85rem; color: var(--ink-soft); margin-inline-end: .25rem; }
.share-row a, .share-row button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ocean); font-size: 1.1rem; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.share-row a:hover, .share-row button:hover { border-color: var(--sky); color: var(--navy); transform: translateY(-2px); }
.share-row button.copied { border-color: var(--success); color: var(--success); }

/* ===== Developer credit badge ===== */
.dev-credit { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .4rem .3rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .8rem; color: rgba(255,255,255,.82); }
.dev-credit a { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .65rem; border-radius: 999px; background: var(--grad-spark); color: var(--navy-900); font-weight: 700; text-decoration: none; transition: filter .2s; }
.dev-credit a:hover { filter: brightness(1.08); color: var(--navy-900); }
.dev-credit .dc-heart { color: var(--orange); font-size: .8rem; display: inline-block; }
.dev-credit:hover .dc-heart { animation: dc-beat .9s ease-in-out 2; }
@keyframes dc-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .dev-credit:hover .dc-heart { animation: none; } }

/* ===== Compact mobile Home: swipe rail for the explorer, 2-up service tiles, smaller hero art ===== */
@media (max-width: 767.98px) {
    [data-explorer] [data-panel] > .row { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 82%; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0; padding-bottom: .7rem; scrollbar-width: thin; }
    [data-explorer] [data-panel] > .row > * { width: auto; max-width: none; margin: 0; padding: 0; scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
    .hero-art { max-width: 300px; }
    .bento { gap: .65rem; }
    .bento-tile, .bento-tile.lg { grid-column: span 6; padding: 1rem; }
    .bento-tile h3, .bento-tile.lg h3 { font-size: 1rem; margin: .7rem 0 .25rem; }
    .bento-tile p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .bento-tile .go { display: none; }
}

/* ===== Desktop header: one line only (never wrap the nav or the CTA) ===== */
@media (min-width: 1200px) {
    .site-header .navbar-nav { flex-wrap: nowrap; }
    .site-header .nav-link, .site-header .btn { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar .nav-link { padding: .5rem .5rem; font-size: .92rem; }
    .navbar .nav-actions { margin-left: .5rem !important; }
    .site-header .btn-amber { padding-inline: .9rem; }
    .site-header .btn-amber i { display: none; }
    .brand-lockup { margin-right: 0; }
}

/* ===== Rich text written in the admin (blog, About, static pages) ===== */
.blog-content, .rich-text { overflow-wrap: anywhere; }
.blog-content table, .rich-text table { display: block; overflow-x: auto; }      /* a wide table scrolls instead of breaking the page */
.blog-content iframe, .rich-text iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.text-amber { color: #E59A0B !important; }                                          /* rating stars */

/* ===== Touch targets: the small controls are at least ~38px high where a thumb has to hit them ===== */
.lang-seg a { display: inline-flex; align-items: center; min-height: 38px; }
.uni-actions a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; }
.uni-actions .ask { padding-inline: .5rem; }
.site-footer a:not(.logo-badge):not(.btn) { display: inline-block; padding-block: .22rem; }
a.small.fw-bold[href^="/success-stories/"] { display: inline-block; padding-block: .4rem; }
