/* ==========================================================================
   Unidesk — Components
   ========================================================================== */

/* ---- Generic card ---- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-6);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.card__icon {
  width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-600); margin-bottom: var(--sp-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-3); font-size: 1.2rem; }
.card p { font-size: var(--fs-sm); color: var(--ink-muted); }

.icon-badge { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-050); color: var(--brand-600); flex: 0 0 auto; }
.icon-badge svg { width: 22px; height: 22px; }

/* ---- Chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 500; font-size: .875rem; color: var(--navy-800);
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover, .chip.is-active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-brand); }
.chip svg { width: 15px; height: 15px; opacity: .7; }

/* ==========================================================================
   Search box (Quick Career Search)
   ========================================================================== */
.search-box {
  display: flex; gap: .5rem; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: .45rem .45rem .45rem 1.2rem;
  box-shadow: var(--sh-md); max-width: 620px;
}
.search-box:focus-within { border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100), var(--sh-md); }
.search-box svg.search-ico { color: var(--ink-muted); flex: 0 0 auto; }
.search-box input { flex: 1; border: 0; background: none; outline: none; font-size: 1.02rem; min-width: 0; }
.search-box input::placeholder { color: var(--ink-muted); }
.search-suggestions { margin-top: var(--sp-4); }

/* ==========================================================================
   Stage selector (Schools / Colleges / Universities)
   ========================================================================== */
.stage-grid { grid-template-columns: repeat(3, 1fr); }
.stage-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.stage-card::before { content:""; position:absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.stage-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.stage-card:hover::before { transform: scaleX(1); }
.stage-card__num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--brand-500); letter-spacing: .1em; }
.stage-card h3 { margin: var(--sp-3) 0 var(--sp-2); }
.stage-card__desc { font-size: var(--fs-sm); color: var(--ink-muted); }
.stage-card__list { margin: var(--sp-4) 0; display: grid; gap: .5rem; }
.stage-card__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.stage-card__list svg { width: 18px; height: 18px; color: var(--mint-500); flex: 0 0 auto; margin-top: 2px; }
.stage-card__cta { margin-top: auto; padding-top: var(--sp-4); }
.stage-card__link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--brand-600); }
.stage-card__link svg { width: 18px; height: 18px; transition: transform var(--dur-fast); }
.stage-card:hover .stage-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   Steps (How Unidesk Helps)
   ========================================================================== */
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; }
.step__num {
  width: 48px; height: 48px; border-radius: var(--r-md); background: var(--navy-800); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: var(--sp-4);
}
.step:nth-child(2) .step__num { background: var(--brand-500); }
.step:nth-child(3) .step__num { background: var(--brand-600); }
.step:nth-child(4) .step__num { background: var(--cta-500); color: #3a2500; }
.step h3 { font-size: 1.12rem; margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--ink-muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

/* ==========================================================================
   Career roadmaps
   ========================================================================== */
.roadmap-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.roadmap-card {
  display: flex; flex-direction: column; gap: .8rem; padding: var(--sp-5);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.roadmap-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-200, var(--brand-100)); }
.roadmap-card__ico { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-050); color: var(--brand-600); }
.roadmap-card__ico svg { width: 22px; height: 22px; }
.roadmap-card h3 { font-size: 1.05rem; }
.roadmap-card p { font-size: var(--fs-sm); color: var(--ink-muted); }
.roadmap-card__go { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--brand-600); display: inline-flex; align-items: center; gap: .35rem; }
.roadmap-card__go svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.roadmap-card:hover .roadmap-card__go svg { transform: translateX(4px); }

/* Vertical pathway timeline (Software Engineer example) */
.pathway { position: relative; padding-left: 8px; }
.pathway__track { position: relative; padding-left: 2.4rem; }
.pathway__track::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand-400), var(--brand-100)); }
.pathway__step { position: relative; padding: .55rem 0 1.4rem; }
.pathway__step::before {
  content: ""; position: absolute; left: -2.4rem; top: .7rem; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-400); box-shadow: 0 0 0 5px var(--brand-050);
  display: grid; place-items: center;
}
.pathway__step[data-done]::before { background: var(--brand-500); border-color: var(--brand-500); }
.pathway__step b { font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.pathway__step span { display: block; font-size: var(--fs-sm); color: var(--ink-muted); }
.pathway__step:last-child { padding-bottom: 0; }

/* Roadmap detail sections */
.roadmap-detail-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.detail-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.detail-block h3 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: var(--sp-3); }
.detail-block h3 svg { width: 20px; height: 20px; color: var(--brand-500); }
.detail-block li { display: flex; gap: .5rem; font-size: .9rem; padding: .28rem 0; color: var(--ink-soft); }
.detail-block li::before { content: "›"; color: var(--brand-500); font-weight: 700; }

/* ==========================================================================
   Meet Raahi (homepage feature)
   ========================================================================== */
.raahi-feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.raahi-demo { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; border: 1px solid var(--line); }
.raahi-demo__head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; background: var(--grad-hero); color: #fff; }
.raahi-demo__head .avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.raahi-demo__head b { display: block; font-family: var(--font-head); }
.raahi-demo__head span { font-size: var(--fs-xs); color: #bcd0ee; }
.raahi-demo__body { padding: 1.2rem; display: grid; gap: .7rem; background: var(--bg); min-height: 240px; }
.bubble { padding: .7rem 1rem; border-radius: var(--r-md); font-size: var(--fs-sm); max-width: 82%; line-height: 1.5; }
.bubble--bot { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); border-bottom-left-radius: 4px; }
.bubble--user { background: var(--brand-500); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.raahi-demo__prompts { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.2rem 1.2rem; }
.raahi-demo__prompts .chip { font-size: .8rem; padding: .4rem .75rem; }

/* ==========================================================================
   Stat counters (Impact)
   ========================================================================== */
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-5); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); line-height: 1; background: linear-gradient(120deg, #fff, var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section:not(.section--navy) .stat__num { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: var(--sp-3); font-size: var(--fs-sm); color: inherit; opacity: .85; }

/* ==========================================================================
   Slider (Innovation & Impact + generic)
   ========================================================================== */
.slider { position: relative; }
.slider__viewport { overflow: hidden; border-radius: var(--r-lg); }
.slider__track { display: flex; transition: transform var(--dur-slow) var(--ease-out); }
.slider__slide { min-width: 100%; }
.innov-slide { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.innov-slide__body { padding: clamp(1.6rem, 3vw, 3rem); }
.innov-slide__tag { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); background: var(--brand-050); padding: .3rem .7rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4); }
.innov-slide__body h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.innov-slide__visual { align-self: stretch; min-height: 260px; background: var(--grad-hero); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.innov-slide__visual svg { width: 88px; height: 88px; opacity: .92; }
.innov-slide__visual::after { content:""; position:absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(98,176,224,.4), transparent 60%); top: -60px; right: -60px; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-5); }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy-800); display: grid; place-items: center; box-shadow: var(--sh-xs); transition: all var(--dur-fast); }
.slider__btn:hover { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.slider__dots { display: flex; gap: .5rem; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: all var(--dur-fast); }
.slider__dot.is-active { background: var(--brand-500); width: 26px; border-radius: var(--r-pill); }

/* ==========================================================================
   Partner logo marquee (Who We Work With)
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-6); width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.partner-logo { display: flex; align-items: center; justify-content: center; gap: .55rem; height: 68px; min-width: 200px; padding: 0 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink-muted); font-family: var(--font-head); font-weight: 600; font-size: .92rem; letter-spacing: .01em; }
.partner-logo svg { width: 22px; height: 22px; color: var(--brand-400); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--sp-6) / 2)); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6); position: relative;
}
.testi__quote { font-size: 1.06rem; color: var(--ink); line-height: 1.6; }
.testi__mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--brand-100); position: absolute; top: 1.2rem; right: 1.4rem; }
.testi__who { display: flex; align-items: center; gap: .8rem; margin-top: var(--sp-5); }
.testi__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testi__who b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.testi__who span { font-size: var(--fs-xs); color: var(--ink-muted); }

/* ==========================================================================
   Resources / article cards
   ========================================================================== */
.res-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.res-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.res-card__thumb { height: 130px; background: var(--grad-hero); display: grid; place-items: center; color: #fff; }
.res-card__thumb svg { width: 40px; height: 40px; opacity: .9; }
.res-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.res-card__cat { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600); }
.res-card__body h3 { font-size: 1.05rem; }
.res-card__go { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--brand-600); }

/* ==========================================================================
   Feature list (Why choose / generic 2-col checklist)
   ========================================================================== */
.feature-list { display: grid; gap: var(--sp-5); }
.feature-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-item p { font-size: var(--fs-sm); color: var(--ink-muted); }
.section--navy .feature-item p { color: #b3c3dd; }
.section--navy .icon-badge { background: rgba(255,255,255,.1); color: var(--brand-400); }

/* Bulleted service list (inner pages) */
.svc-list { columns: 2; column-gap: var(--sp-6); }
.svc-list li { break-inside: avoid; display: flex; gap: .6rem; padding: .5rem 0; font-size: .96rem; color: var(--ink-soft); }
.svc-list li svg { width: 20px; height: 20px; color: var(--mint-500); flex: 0 0 auto; margin-top: 2px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--grad-hero); border-radius: var(--r-xl); padding: clamp(2.4rem, 2rem + 4vw, 4.5rem); text-align: center; color: #dfe8f5; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; width: 420px; height: 420px; border-radius:50%; background: radial-gradient(circle, rgba(246,166,35,.22), transparent 60%); top: -140px; left: -80px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: var(--sp-3) auto var(--sp-6); color: #bccbe3; max-width: 52ch; }
.cta-band__actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-sm); color: var(--navy-800); }
.field .req { color: #dc4b4b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 1rem; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e58a8a; }
.form__note { font-size: var(--fs-xs); color: var(--ink-muted); }
.form__status { padding: .85rem 1.1rem; border-radius: var(--r-sm); font-size: var(--fs-sm); display: none; }
.form__status.is-ok { display: block; background: var(--mint-100); color: #0f6b58; border: 1px solid #a9e0d3; }
.form__status.is-err { display: block; background: #fdecec; color: #b23636; border: 1px solid #f2c2c2; }

.contact-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.info-row { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-soft); }
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: var(--fs-sm); color: var(--ink-muted); }

/* ==========================================================================
   Raahi floating widget
   ========================================================================== */
.raahi-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-raahi);
  display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem .7rem .7rem;
  background: var(--grad-hero); color: #fff; border-radius: var(--r-pill); box-shadow: var(--sh-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.raahi-launcher:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(20,35,63,.28); color: #fff; }
.raahi-launcher__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; position: relative; }
.raahi-launcher__avatar svg { width: 22px; height: 22px; }
.raahi-launcher__avatar::after { content:""; position:absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius:50%; background: var(--mint-500); border: 2px solid #1d2f53; }
.raahi-launcher__text { display: grid; text-align: left; padding-right: .4rem; }
.raahi-launcher__text b { font-family: var(--font-head); font-size: .92rem; line-height: 1.1; }
.raahi-launcher__text span { font-size: .72rem; color: #bcd0ee; }
@media (max-width: 620px) { .raahi-launcher__text { display: none; } .raahi-launcher { padding: .55rem; } }

.raahi-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-modal);
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 44px));
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
  transform-origin: bottom right;
}
.raahi-panel.is-open { display: flex; animation: panelIn var(--dur) var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.raahi-panel__head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; background: var(--grad-hero); color: #fff; }
.raahi-panel__head .avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.raahi-panel__head .meta { flex: 1; }
.raahi-panel__head .meta b { font-family: var(--font-head); display: block; }
.raahi-panel__head .meta span { font-size: var(--fs-xs); color: #bcd0ee; display: flex; align-items: center; gap: .35rem; }
.raahi-panel__head .meta span::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-500); }
.raahi-panel__close { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; transition: background var(--dur-fast); }
.raahi-panel__close:hover { background: rgba(255,255,255,.14); }
.raahi-panel__body { flex: 1; overflow-y: auto; padding: 1.1rem; background: var(--bg); display: flex; flex-direction: column; gap: .7rem; scroll-behavior: smooth; }
.raahi-panel__body .bubble { max-width: 88%; }
.raahi-welcome { font-size: var(--fs-sm); }
.typing { display: inline-flex; gap: 4px; padding: .8rem 1rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400); animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2){ animation-delay: .15s; } .typing span:nth-child(3){ animation-delay: .3s; }
@keyframes typing { 0%,60%,100%{ transform: translateY(0); opacity:.5;} 30%{ transform: translateY(-5px); opacity:1;} }
.raahi-panel__prompts { display: flex; gap: .4rem; padding: .6rem 1rem; overflow-x: auto; border-top: 1px solid var(--line); background: #fff; }
.raahi-panel__prompts .chip { white-space: nowrap; font-size: .8rem; padding: .4rem .75rem; }
.raahi-panel__form { display: flex; gap: .5rem; padding: .8rem 1rem 1rem; background: #fff; border-top: 1px solid var(--line); }
.raahi-panel__form input { flex: 1; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .95rem; }
.raahi-panel__form input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-100); }
.raahi-panel__send { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: 0 0 auto; box-shadow: var(--sh-brand); transition: transform var(--dur-fast); }
.raahi-panel__send:hover { transform: scale(1.06); }
.raahi-panel__send:disabled { opacity: .5; cursor: not-allowed; }
.raahi-note { font-size: var(--fs-xs); color: var(--ink-muted); text-align: center; padding: 0 1rem .6rem; background: #fff; }

/* ==========================================================================
   Breadcrumb + page hero (inner pages)
   ========================================================================== */
.page-hero { background: var(--grad-hero); color: #dfe8f5; padding-block: clamp(2.6rem, 2rem + 4vw, 4.4rem); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; width: 460px; height: 460px; border-radius:50%; background: radial-gradient(circle, rgba(98,176,224,.34), transparent 62%); top: -160px; right: -120px; }
.page-hero__grid { position: relative; }
.page-hero--split .page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-8); align-items: center; }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero__media .ph { min-height: 260px; }
.ph--onblue { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; }
.ph--onblue span { color: #fff; }
.ph--onblue small { color: rgba(255,255,255,.8); }
@media (max-width: 860px) { .page-hero--split .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { display: none; } }
.page-hero h1 { color: #fff; margin: var(--sp-3) 0; }
.page-hero p { color: #c6d4ea; font-size: var(--fs-lead); }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-sm); color: #9fb3d3; }
.crumbs a { color: #bcd0ee; } .crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* ==========================================================================
   Service cards with an action link at the bottom
   ========================================================================== */
.svc-card { display: flex; flex-direction: column; }
.svc-card p { flex: 1; }
.svc-card__action {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--sp-4);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--brand-600);
}
.svc-card__action svg { width: 18px; height: 18px; transition: transform var(--dur-fast); }
.svc-card:hover .svc-card__action svg { transform: translateX(4px); }

/* ==========================================================================
   Career Library — tabbed browse (careers / universities / cities)
   ========================================================================== */
.lib { margin-top: var(--sp-7); }
.lib__tabs {
  display: flex; gap: .35rem; padding: .35rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); margin: 0 auto var(--sp-6); width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none;
}
.lib__tabs::-webkit-scrollbar { display: none; }
.lib__tab { flex: 0 0 auto; white-space: nowrap; }
.lib__tab {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lib__tab svg { width: 17px; height: 17px; }
.lib__tab:hover { color: var(--brand-700); }
.lib__tab.is-active { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.lib__panel[hidden] { display: none; }
.lib__panel.is-active { animation: fadeInUp var(--dur) var(--ease-out); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none; } }
.lib__chips { justify-content: center; }
.lib__chips .chip { gap: .5rem; }
.lib__chips .chip small { color: var(--ink-muted); font-weight: 500; }
.lib__chips .chip:hover small, .lib__chips .chip.is-active small { color: rgba(255,255,255,.85); }

/* ==========================================================================
   Innovation & Impact — clickable project cards
   ========================================================================== */
.project-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-100); }
.project-card__visual { display: grid; place-items: center; height: 128px; color: #fff; position: relative; overflow: hidden; }
.project-card__visual svg { width: 46px; height: 46px; }
.project-card__visual::after { content:""; position:absolute; width: 180px; height: 180px; border-radius:50%; background: rgba(255,255,255,.14); top: -70px; right: -40px; }
.project-card--brand  .project-card__visual { background: var(--grad-hero); }
.project-card--mint   .project-card__visual { background: var(--grad-mint); }
.project-card--coral  .project-card__visual { background: var(--grad-coral); }
.project-card > :not(.project-card__visual) { margin-inline: var(--sp-5); }
.project-card__tag { display: inline-block; width: max-content; margin-top: var(--sp-5); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); }
.project-card h3 { margin-top: var(--sp-3); font-size: 1.18rem; }
.project-card p { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--ink-muted); flex: 1; }
.project-card__go { display: inline-flex; align-items: center; gap: .4rem; margin: var(--sp-4) var(--sp-5) var(--sp-6); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--brand-600); }
.project-card__go svg { width: 17px; height: 17px; transition: transform var(--dur-fast); }
.project-card:hover .project-card__go svg { transform: translateX(4px); }

/* ==========================================================================
   Image placeholder (.ph) — swap for real photos later
   ========================================================================== */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .45rem; text-align: center; padding: var(--sp-6); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-050));
  border: 2px dashed rgba(46, 134, 193, .38); color: var(--brand-600);
}
.ph > svg { width: 44px; height: 44px; opacity: .8; }
.ph span { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--brand-700); }
.ph small { font-size: var(--fs-xs); color: var(--ink-muted); }
.ph--coral  { background: linear-gradient(135deg, var(--coral-100), #FFF6F4); border-color: rgba(224, 90, 75, .38); color: var(--coral-600); }
.ph--coral span  { color: var(--coral-600); }
.ph--mint   { background: linear-gradient(135deg, var(--mint-100), #F2FBF8); border-color: rgba(20, 158, 130, .38); color: var(--mint-600); }
.ph--mint span   { color: var(--mint-600); }
.ph--violet { background: linear-gradient(135deg, var(--violet-100), #F5F3FD); border-color: rgba(101, 88, 214, .38); color: var(--violet-600); }
.ph--violet span { color: var(--violet-600); }

/* ==========================================================================
   Colorful accent cycling — icons, thumbs, avatars pick up rotating colors
   ========================================================================== */
.grid > :nth-child(4n+2) .card__icon, .grid > :nth-child(4n+2) .roadmap-card__ico, .grid > :nth-child(4n+2) .icon-badge { background: var(--coral-100); color: var(--coral-600); }
.grid > :nth-child(4n+3) .card__icon, .grid > :nth-child(4n+3) .roadmap-card__ico, .grid > :nth-child(4n+3) .icon-badge { background: var(--violet-100); color: var(--violet-600); }
.grid > :nth-child(4n)   .card__icon, .grid > :nth-child(4n)   .roadmap-card__ico, .grid > :nth-child(4n)   .icon-badge { background: var(--mint-100); color: var(--mint-600); }
.grid > :nth-child(4n+2) .res-card__thumb { background: var(--grad-coral); }
.grid > :nth-child(4n+3) .res-card__thumb { background: var(--grad-violet); }
.grid > :nth-child(4n)   .res-card__thumb { background: var(--grad-mint); }
.grid > :nth-child(4n+2) .testi__avatar { background: var(--grad-coral); }
.grid > :nth-child(4n+3) .testi__avatar { background: var(--grad-violet); }
.grid > :nth-child(4n)   .testi__avatar { background: var(--grad-mint); }
.feature-list .feature-item:nth-child(3n+2) .icon-badge { background: var(--coral-100); color: var(--coral-600); }
.feature-list .feature-item:nth-child(3n)   .icon-badge { background: var(--mint-100); color: var(--mint-600); }
.info-row:nth-child(3n+2) .icon-badge { background: var(--coral-100); color: var(--coral-600); }
.info-row:nth-child(3n)   .icon-badge { background: var(--mint-100); color: var(--mint-600); }
/* Innovation slider visuals cycle too */
.slider__slide:nth-child(2) .innov-slide__visual { background: var(--grad-mint); }
.slider__slide:nth-child(3) .innov-slide__visual { background: var(--grad-coral); }
.slider__slide:nth-child(4) .innov-slide__visual { background: var(--grad-violet); }
/* Colored top line on stage cards */
.stage-grid > :nth-child(2).stage-card::before { background: var(--grad-coral); }
.stage-grid > :nth-child(3).stage-card::before { background: var(--grad-mint); }
.stage-grid > :nth-child(2) .stage-card__num { color: var(--coral-600); }
.stage-grid > :nth-child(3) .stage-card__num { color: var(--mint-600); }

/* Static colorful chips (no hover jump) */
.chip--static { pointer-events: none; }
.dl-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-4); }
.dl-chips .chip:nth-child(4n+1) { background: var(--brand-050);  border-color: var(--brand-100);  color: var(--brand-700); }
.dl-chips .chip:nth-child(4n+2) { background: var(--coral-100);  border-color: var(--coral-100);  color: var(--coral-600); }
.dl-chips .chip:nth-child(4n+3) { background: var(--violet-100); border-color: var(--violet-100); color: var(--violet-600); }
.dl-chips .chip:nth-child(4n)   { background: var(--mint-100);   border-color: var(--mint-100);   color: var(--mint-600); }
.dl-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.dl-media .ph { min-height: 210px; }

/* ==========================================================================
   Our Story — 2-column with media + milestones
   ========================================================================== */
.story-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: var(--sp-8); align-items: center; }
.story-media { position: relative; }
.story-media .ph { min-height: 420px; }
.story-badge {
  position: absolute; bottom: -16px; right: -12px; background: var(--grad-cta); color: #3a2500;
  font-family: var(--font-head); font-weight: 700; padding: .85rem 1.15rem; border-radius: var(--r-md);
  box-shadow: var(--sh-md); line-height: 1.25; font-size: .95rem;
}
.story-badge small { display: block; font-weight: 600; font-size: var(--fs-xs); opacity: .85; }
.mission {
  border-left: 4px solid var(--cta-500); background: var(--cta-100); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1rem 1.25rem; margin-block: var(--sp-5);
  font-family: var(--font-head); font-weight: 600; color: var(--navy-800); font-size: 1.08rem; line-height: 1.5;
}
.milestones { display: grid; gap: .9rem; margin-block: var(--sp-5); }
.milestone { display: flex; gap: .85rem; align-items: flex-start; }
.milestone__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-500); margin-top: 7px; flex: 0 0 auto; box-shadow: 0 0 0 4px var(--brand-050); }
.milestone:nth-child(2) .milestone__dot { background: var(--coral-500); box-shadow: 0 0 0 4px var(--coral-100); }
.milestone:nth-child(3) .milestone__dot { background: var(--mint-500); box-shadow: 0 0 0 4px var(--mint-100); }
.milestone b { font-family: var(--font-head); color: var(--navy-800); }
.milestone p { font-size: var(--fs-sm); color: var(--ink-muted); }

/* Glassy stat tiles on blue bands */
.section--navy .stat { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); }
.section--navy .stat__label { color: #DEE9F7; opacity: 1; }

/* ==========================================================================
   Responsive component adjustments
   ========================================================================== */
@media (max-width: 1024px) {
  .stage-grid, .roadmap-grid, .steps, .stats-grid, .res-grid { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .raahi-feature, .innov-slide, .contact-grid, .story-grid { grid-template-columns: 1fr; }
  .story-media .ph { min-height: 300px; }
  .innov-slide__visual { min-height: 200px; order: -1; }
  .roadmap-detail-grid { grid-template-columns: repeat(2, 1fr); }
  /* Inline-styled section grids: collapse to 2 columns (inline needs !important) */
  .grid[style*="repeat(3"], .grid[style*="repeat(4"], .grid[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* Two-column split layouts → single column */
  .grid[style*="fr .95fr"], .grid[style*="9fr 1.1fr"], .grid[style*="1.05fr"],
  .grid[style*="1fr 1fr"], .grid[style*="1fr 1.1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .form__row { grid-template-columns: 1fr; }
  .svc-list { columns: 1; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stage-grid, .roadmap-grid, .stats-grid, .res-grid, .roadmap-detail-grid { grid-template-columns: 1fr; }
  /* Any inline-styled grid → single column on phones */
  .grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  /* Compact Career Library tabs so they fit small screens */
  .lib__tab { padding: .55rem .8rem; font-size: .86rem; }
}
