/* ============================================================
   MEHIT & MIEX — Transcript Verification Portal
   assets/css/style.css
   ============================================================ */

/* ---- CUSTOM PROPERTIES ------------------------------------ */
:root {
  /* Brand */
  --navy:        #071523;
  --navy-mid:    #0d2136;
  --navy-light:  #162d45;
  --gold:        #C7A94F;
  --gold-light:  #d9be7a;
  --gold-dim:    #9f8640;
  --white:       #ffffff;
  --off-white:   #f5f3ef;
  --text-body:   #3a4a58;
  --text-muted:  #6b7e90;
  --border:      #ddd8cc;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.75rem;
  --space-lg:  3rem;
  --space-xl:  5rem;
  --space-2xl: 8rem;

  /* Sizes */
  --header-h:  80px;
  --topbar-h:  38px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --ease-out:  cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in:   cubic-bezier(0.64, 0, 0.78, 0);
  --ease-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* ---- RESET & BASE ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- TYPOGRAPHY UTILITIES --------------------------------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow--gold { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.section-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 1.25rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-top: 0.75rem;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-header .section-rule { margin-left: auto; margin-right: auto; }

/* ---- BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn--lg { font-size: 0.93rem; padding: 0.85rem 1.75rem; letter-spacing: 0.03em; }
.btn--sm { font-size: 0.8rem;  padding: 0.55rem 1.2rem;  letter-spacing: 0.03em; }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(199,169,79,0.35);
}
.btn--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(199,169,79,0.5);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

/* ---- ANIMATIONS ------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes zoomSlow {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) both;
  animation-delay: var(--delay, 0s);
}

/* Scroll-reveal — JS adds .is-visible */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- TOP BAR (mehit-topbar style) ------------------------- */
.mehit-topbar {
  width: 100%;
  min-height: 38px;
  padding: 0 clamp(16px, 5vw, 90px);
  background: #050B12;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-family: 'DM Sans', Rubik, Inter, Arial, sans-serif;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.mehit-topbar a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: .25s ease;
}
.mehit-topbar a:hover { color: #C7A94F; }
.mehit-topbar-contact,
.mehit-topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 500;
}
.mehit-topbar-contact i { color: #C7A94F; margin-right: 4px; font-style: normal; }
.mehit-topbar-marquee {
  overflow: hidden;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
}
.mehit-topbar-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: mehitTopbarMarquee 22s linear infinite;
}
.mehit-topbar-marquee a { color: #C7A94F; font-weight: 700; margin-left: 6px; }
@keyframes mehitTopbarMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* On mobile: topbar is NOT sticky — it scrolls away, nav takes full top */
@media (max-width: 900px) {
  .mehit-topbar {
    position: static;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 6px 16px;
  }
  .mehit-topbar-contact, .mehit-topbar-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .76rem;
  }
  .mehit-topbar-marquee { order: -1; font-size: .75rem; }
}
@media (max-width: 520px) {
  .mehit-topbar-links a:not(:first-child) { display: none; }
  .mehit-topbar-contact { font-size: .72rem; }
}

/* ---- HEADER: pill navbar ---------------------------------- */

body { padding-top: 0; margin: 0; }
.hero-wrap { position: relative; }

.mehit-nav-shell {
  position: sticky;
  /* On desktop: stick just below the 38px topbar */
  top: 38px;
  width: 100%;
  z-index: 100;
  font-family: 'DM Sans', Rubik, Inter, Arial, sans-serif;
  background: transparent;
  /* Overlap the hero by the full nav height so zero gap */
  margin-bottom: -102px;
}

/* On mobile: topbar scrolls away so nav sticks to very top */
@media (max-width: 900px) {
  .mehit-nav-shell {
    top: 0;
    margin-bottom: -82px;
  }
}

.mehit-premium-nav {
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  margin: 14px auto 0;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(7,21,35,.92);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
}
@media (max-width: 980px) {
  .mehit-premium-nav {
    height: 62px;
    margin-top: 10px;
  }
}

.mehit-nav-left,
.mehit-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mehit-nav-right { justify-content: flex-end; }

/* Nav links */
.mehit-nav-link {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
  transition: color .2s;
  white-space: nowrap;
}
.mehit-nav-link:hover,
.mehit-nav-active { color: #C7A94F; }

/* Centre logo group */
.mehit-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  justify-content: center;
}
.mehit-nav-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.mehit-nav-logo-sep {
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* Gold CTA pill */
.mehit-nav-apply {
  padding: 10px 18px;
  border-radius: 999px;
  background: #C7A94F;
  color: #071523 !important;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  white-space: nowrap;
}
.mehit-nav-apply:hover {
  background: #d9be7a;
  box-shadow: 0 4px 16px rgba(199,169,79,.4);
}

/* Hamburger toggle — hidden on desktop */
.mehit-menu-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mehit-menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.mehit-menu-toggle-icon i {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  font-style: normal;
  transition: all .3s;
}

/* Mobile slide-in menu — must cover topbar and nav */
.mehit-mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 420px);
  height: 100vh;
  background: #050B12;
  border-left: 1px solid rgba(255,255,255,.10);
  transform: translateX(100%);
  transition: .45s cubic-bezier(.22,1,.36,1);
  z-index: 9999;
  overflow-y: auto;
}
.mehit-mobile-menu.active { transform: translateX(0); }

.mehit-menu-close {
  position: fixed;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  z-index: 10000;
  padding: 0 8px;
}

.mehit-mobile-menu-inner { padding: 76px 34px 34px; }

.mehit-mobile-menu-inner small {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mehit-mobile-menu-inner > a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.03em;
  transition: color .2s;
}
.mehit-mobile-menu-inner > a:hover { color: #C7A94F; }

.mehit-mobile-apply {
  display: block !important;
  margin-top: 24px;
  padding: 14px 22px !important;
  border-radius: 999px;
  background: #C7A94F;
  color: #071523 !important;
  text-align: center;
  font-size: .95rem !important;
  font-weight: 700;
  letter-spacing: 0 !important;
}

.mehit-mobile-menu-contact {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mehit-mobile-menu-contact small {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mehit-mobile-menu-contact a {
  display: block;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: color .2s;
}
.mehit-mobile-menu-contact a:hover { color: #C7A94F; }

/* Show toggle, hide desktop links on mobile */
@media (max-width: 980px) {
  .mehit-nav-left,
  .mehit-nav-right   { display: none; }
  .mehit-nav-logo    { grid-column: 2; }
  .mehit-menu-toggle { display: inline-flex; }
}

/* ---- HERO ------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Slides */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero__slide--active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1);
  transition: transform 8s ease-in-out;
}
.hero__slide--active img { transform: scale(1.06); }

/* Gradient overlay — cinematic navy-to-gold */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(7, 21, 35, 0.92) 0%,
      rgba(7, 21, 35, 0.70) 40%,
      rgba(7, 21, 35, 0.15) 100%
    ),
    linear-gradient(
      180deg,
      rgba(199, 169, 79, 0.12) 0%,
      transparent 50%,
      rgba(7, 21, 35, 0.55) 100%
    );
  z-index: 1;
}

/* Content — top padding clears the overlaid nav pill (~102px) */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-top: 110px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero__title-sub {
  font-size: 0.52em;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-top: 0.3em;
}

.hero__lead {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.hero__br { display: block; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, transform 0.3s;
}
.hero__dot--active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(199,169,79,0.5);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}



.hero__trust{
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2rem;
}




/* ---- TRUST SECTION ---------------------------------------- */
.trust {
  padding: var(--space-2xl) 0;
  background: var(--white);
}
.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.trust__heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0.5rem;
}
.trust__rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.trust__body {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 42ch;
}

.trust__right {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.trust__feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.trust__icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(199,169,79,0.3);
  border-radius: var(--radius-md);
  background: rgba(199,169,79,0.04);
}
.trust__icon-wrap svg { width: 24px; height: 24px; }
.trust__feature-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.trust__feature-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---- METHODS SECTION -------------------------------------- */
.methods {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}

.methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.method-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s;
}
.method-card:hover {
  box-shadow: 0 16px 48px rgba(7,21,35,0.1);
  transform: translateY(-4px);
  border-color: rgba(199,169,79,0.35);
}

.method-card__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(199,169,79,0.35);
  border-radius: var(--radius-md);
  background: rgba(199,169,79,0.05);
  margin-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}
.method-card:hover .method-card__icon-wrap {
  background: rgba(199,169,79,0.1);
  border-color: var(--gold);
}
.method-card__icon-wrap svg { width: 28px; height: 28px; }

.method-card__body { }
.method-card__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.method-card__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.method-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-dim);
  transition: color 0.2s, gap 0.2s;
}
.method-card__cta svg { width: 14px; height: 14px; }
.method-card__cta:hover { color: var(--gold); gap: 0.65rem; }

.method-card__number {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(7,21,35,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---- INSTITUTIONS ----------------------------------------- */
.institutions {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.institutions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.inst-card {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.inst-card:hover {
  box-shadow: 0 10px 36px rgba(7,21,35,0.09);
  border-color: rgba(199,169,79,0.35);
  transform: translateY(-3px);
}
.inst-card__emblem {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}
.inst-card__emblem svg { width: 64px; height: 64px; }
.inst-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.inst-card__tagline {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- CTA BAND --------------------------------------------- */
.cta-band {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}
.cta-band__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(199,169,79,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(199,169,79,0.05) 0%, transparent 60%);
}
.cta-band__bg::after {
  content: 'VERIFY';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 800;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-band__sub {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

/* ---- FAQ -------------------------------------------------- */
.faq {
  padding: var(--space-2xl) 0;
  background: var(--off-white);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: var(--space-xl);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__sub {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 36ch;
}

.faq__list { display: flex; flex-direction: column; gap: 0; }

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--gold-dim); }
.faq__question[aria-expanded="true"] { color: var(--gold-dim); }
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s var(--ease-out);
}
.faq__answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---- FOOTER (mehit-premium-footer style) ------------------ */
.mehit-premium-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: clamp(70px,8vw,110px) clamp(18px,6vw,90px) 0;
  background: #050B12;
  color: #fff;
  font-family: 'DM Sans', Rubik, Inter, Arial, sans-serif;
}

.mehit-footer-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,35,.25), rgba(2,6,12,.96)),
    url("assets/images/campus.jpg");
  background-size: cover;
  background-position: center;
  opacity: .42;
  transform: scale(1.04);
}

.mehit-footer-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(199,169,79,.18), transparent 30%),
    linear-gradient(135deg, rgba(7,21,35,.94), rgba(2,6,12,.90));
}

.mehit-footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: auto;
}

.mehit-footer-top {
  max-width: 620px;
  margin-bottom: 48px;
}
.mehit-footer-top p {
  color: rgba(255,255,255,.74);
  line-height: 1.75;
  font-size: 1rem;
}
.mehit-footer-top p:first-child {
  color: #C7A94F;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mehit-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 6vw, 80px);
}

.mehit-footer-col h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(199,169,79,.65);
}
.mehit-footer-col a {
  display: block;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.5;
  margin-bottom: 12px;
  transition: .25s ease;
}
.mehit-footer-col a:hover {
  color: #C7A94F;
  transform: translateX(5px);
}

.mehit-footer-newsletter {
  margin-top: 58px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 22px;
  align-items: center;
}
.mehit-footer-newsletter span {
  color: #C7A94F;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mehit-footer-newsletter h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.45;
}
.mehit-footer-newsletter form { display: flex; gap: 10px; }
.mehit-footer-newsletter input {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 0 16px;
  outline: none;
  font-family: inherit;
  font-size: .9rem;
}
.mehit-footer-newsletter input::placeholder { color: rgba(255,255,255,.46); }
.mehit-footer-newsletter button {
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: #C7A94F;
  color: #071523;
  padding: 0 22px;
  font-weight: 700;
  font-family: inherit;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s;
}
.mehit-footer-newsletter button:hover { background: #d9be7a; }

/* Brand watermark — MEHIT-MIEX, scales to fit all screens */
.mehit-footer-brand {
  margin: clamp(40px, 6vw, 80px) 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 13rem);
  line-height: .85;
  letter-spacing: -.04em;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #C7A94F 48%, rgba(255,255,255,.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .95;
  pointer-events: none;
  user-select: none;
  width: 100%;
  display: block;
}

.mehit-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 20px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.mehit-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .86rem;
}

.mehit-footer-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.mehit-footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  transition: .25s ease;
}
.mehit-footer-socials a:hover { background: #C7A94F; color: #071523; }

.mehit-footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.mehit-footer-legal a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
  font-size: .86rem;
  transition: color .2s;
}
.mehit-footer-legal a:hover { color: #C7A94F; }

/* Footer responsive */
@media (max-width: 900px) {
  .mehit-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .mehit-footer-newsletter { grid-template-columns: 1fr; }
  .mehit-footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .mehit-footer-legal { justify-content: center; }
}
@media (max-width: 560px) {
  .mehit-premium-footer { padding: 48px 18px 24px; }
  .mehit-footer-newsletter form { flex-direction: column; }
  .mehit-footer-newsletter button { width: 100%; }
  .mehit-footer-brand { font-size: clamp(2.4rem, 11.5vw, 4rem); letter-spacing: -.02em; }
}



/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 1024px) {
  .trust__grid { grid-template-columns: 1fr; gap: 3rem; }
  .trust__right { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 2rem; }
  .trust__body { max-width: none; }
  .methods__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-2xl: 5rem; --space-xl: 3.5rem; }

  .hero__br { display: none; }
  .hero__scroll-cue { display: none; }
  .methods__grid { grid-template-columns: 1fr; }
  .institutions__grid { grid-template-columns: 1fr; }

  /* Institution section: centre the paragraph on mobile */
  .institutions .section-lead { text-align: center; margin-left: auto; margin-right: auto; }

  .cta-band__inner { flex-direction: column; text-align: center; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; margin-bottom: 2rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  /* Hero actions stay left-aligned — no centering override */
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--lg { width: auto; }
  .trust__grid { gap: 2.5rem; }
  .container { padding: 0 1.25rem; }
}

/* Hero text is always left-aligned — explicit safeguard */
.hero__content,
.hero__eyebrow,
.hero__title,
.hero__lead,
.hero__actions {
  text-align: left;
}



/* ============================================================
   VERIFY PAGE — verify.php
   ============================================================ */

/* Page hero banner */
.verify-hero {
  background: var(--navy);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.verify-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(199,169,79,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 5% 30%,  rgba(199,169,79,.05) 0%, transparent 60%);
  pointer-events: none;
}
.verify-hero__inner {
  position: relative;
  z-index: 1;
}
.verify-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.verify-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.verify-hero__lead {
  font-family: var(--font-ui);
  font-size: .97rem;
  color: rgba(255,255,255,.65);
  max-width: 50ch;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: rgba(255,255,255,.25); }

/* Main layout */
.verify-layout {
  padding: 3rem 0 5rem;
  background: var(--off-white);
  min-height: 60vh;
}
.verify-layout__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

/* ---- Verify Card ------------------------------------------ */
.verify-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(7,21,35,.06);
  overflow: hidden;
}

/* Tab switcher */
.verify-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.verify-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.1rem .75rem;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  text-align: center;
  line-height: 1.3;
}
.verify-tab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: color .2s;
}
.verify-tab:hover {
  background: rgba(199,169,79,.04);
  color: var(--navy);
}
.verify-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  background: rgba(199,169,79,.04);
  font-weight: 600;
}
.verify-tab.active svg { color: var(--gold); }

/* Form panels */
.verify-panels { padding: 2rem; }

.verify-panel { display: none; }
.verify-panel.active { display: block; }

.verify-panel__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.verify-panel__desc {
  font-family: var(--font-ui);
  font-size: .87rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Form elements */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-label span {
  color: var(--text-muted);
  font-weight: 400;
}
.form-input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: .93rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199,169,79,.12);
}
.form-input::placeholder { color: rgba(58,74,88,.4); }
.form-input.is-error { border-color: #e53e3e; }

.form-hint {
  font-family: var(--font-ui);
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: .35rem;
}

/* QR panel special layout */
.qr-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.qr-upload-area:hover {
  border-color: var(--gold);
  background: rgba(199,169,79,.03);
}
.qr-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.qr-upload-area svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin: 0 auto .75rem;
}
.qr-upload-area p {
  font-family: var(--font-ui);
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.qr-upload-area strong { color: var(--navy); }

.qr-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--text-muted);
}
.qr-divider::before,
.qr-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Verifier info (optional collapsible section) */
.verifier-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: .75rem 0;
  border-top: 1px solid var(--border);
  width: 100%;
  text-align: left;
  transition: color .2s;
  margin-top: .5rem;
}
.verifier-toggle:hover { color: var(--navy); }
.verifier-toggle svg {
  width: 16px; height: 16px;
  transition: transform .3s var(--ease-out);
  flex-shrink: 0;
  margin-left: auto;
}
.verifier-toggle.open svg { transform: rotate(180deg); }
.verifier-toggle .vt-icon { color: var(--gold); }

.verifier-fields {
  display: none;
  padding-top: 1rem;
}
.verifier-fields.open { display: block; }
.verifier-fields .form-group:last-child { margin-bottom: 0; }

/* Submit button */
.verify-submit {
  width: 100%;
  height: 52px;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s;
  letter-spacing: .02em;
}
.verify-submit svg { width: 18px; height: 18px; }
.verify-submit:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(199,169,79,.4);
  transform: translateY(-1px);
}
.verify-submit:active { transform: translateY(0); }

/* Disclaimer below form */
.verify-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  background: rgba(7,21,35,.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.verify-disclaimer svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--gold-dim);
  margin-top: 1px;
}
.verify-disclaimer p {
  font-family: var(--font-ui);
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Sidebar --------------------------------------------- */
.verify-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(7,21,35,.05);
}
.sidebar-card__title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sidebar-card__title svg {
  width: 16px; height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* How it works steps */
.sidebar-steps { display: flex; flex-direction: column; gap: .9rem; }
.sidebar-step {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.sidebar-step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sidebar-step__text {
  font-family: var(--font-ui);
  font-size: .83rem;
  color: var(--text-body);
  line-height: 1.5;
  padding-top: 2px;
}
.sidebar-step__text strong { color: var(--navy); }

/* Security badges */
.sidebar-badges { display: flex; flex-direction: column; gap: .6rem; }
.sidebar-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--text-body);
}
.sidebar-badge svg {
  width: 16px; height: 16px;
  color: #38a169;
  flex-shrink: 0;
}

/* Contact help box */
.sidebar-help {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: var(--white);
}
.sidebar-help h4 {
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--white);
}
.sidebar-help p {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: .75rem;
}
.sidebar-help a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color .2s;
}
.sidebar-help a:hover { color: var(--gold-light); }
.sidebar-help a svg { width: 13px; height: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .verify-layout__inner {
    grid-template-columns: 1fr;
  }
  .verify-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .verify-panels { padding: 1.25rem; }
  .verify-sidebar { grid-template-columns: 1fr; }
  .verify-tabs { font-size: .72rem; }
  .verify-tab { padding: .9rem .5rem; }
}


/* ============================================================
   AI CHAT ASSISTANT WIDGET
   ============================================================ */

/* Bubble button */
.ai-chat-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

.ai-chat-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 24px rgba(7,21,35,.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  position: relative;
}
.ai-chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(199,169,79,.4);
}
.ai-chat-btn svg { width: 26px; height: 26px; color: var(--gold); }
.ai-chat-btn__close { display: none; }
.ai-chat-btn.open .ai-chat-btn__open  { display: none; }
.ai-chat-btn.open .ai-chat-btn__close { display: block; }

/* Pulse ring */
.ai-chat-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: aiPulse 2.5s ease-out infinite;
}
@keyframes aiPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.5); opacity: 0;  }
}

/* Tooltip label */
.ai-chat-label {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(199,169,79,.3);
  box-shadow: 0 4px 12px rgba(7,21,35,.2);
  animation: aiLabelFade 3s ease forwards;
  pointer-events: none;
}
@keyframes aiLabelFade {
  0%,70% { opacity: 1; }
  100%    { opacity: 0; }
}

/* Chat panel */
.ai-chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 10004;
  width: 360px;
  max-height: 520px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 56px rgba(7,21,35,.2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.ai-chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Panel header */
.ai-chat-header {
  background: var(--navy);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.ai-chat-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(199,169,79,.15);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ai-chat-header__avatar svg { width: 18px; height: 18px; color: var(--gold); }
.ai-chat-header__info { flex: 1; }
.ai-chat-header__name {
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.ai-chat-header__status {
  font-family: var(--font-ui);
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.ai-chat-header__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #68d391;
  display: inline-block;
}

/* Messages area */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: #f8fafc;
}
.ai-chat-messages::-webkit-scrollbar { width: 4px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Message bubbles */
.ai-msg {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
  animation: aiMsgIn .25s var(--ease-out);
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ai-msg--user { flex-direction: row-reverse; }

.ai-msg__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ai-msg__avatar svg { width: 13px; height: 13px; color: var(--gold); }
.ai-msg--user .ai-msg__avatar { background: var(--gold); }
.ai-msg--user .ai-msg__avatar svg { color: var(--navy); }

.ai-msg__bubble {
  max-width: 78%;
  padding: .6rem .85rem;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: .83rem;
  line-height: 1.55;
  word-break: break-word;
}
.ai-msg--bot  .ai-msg__bubble {
  background: var(--white);
  color: var(--text-body);
  border: 1px solid var(--border);
  border-bottom-left-radius: 3px;
}
.ai-msg--user .ai-msg__bubble {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 3px;
}

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 4px;
  padding: .5rem .75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  width: fit-content;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: aiDot 1.2s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiDot {
  0%,60%,100% { transform: translateY(0); opacity: .4; }
  30%          { transform: translateY(-5px); opacity: 1; }
}

/* Suggestions */
.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}
.ai-suggestion {
  font-family: var(--font-ui);
  font-size: .74rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-dim);
  background: rgba(199,169,79,.05);
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.ai-suggestion:hover { background: var(--gold); color: var(--navy); }

/* Input area */
.ai-chat-input-wrap {
  padding: .75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: .5rem;
  background: var(--white);
  flex-shrink: 0;
}
.ai-chat-input {
  flex: 1;
  padding: .55rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: .85rem;
  color: var(--text-body);
  outline: none;
  transition: border-color .2s;
  background: #f8fafc;
}
.ai-chat-input:focus { border-color: var(--gold); background: var(--white); }
.ai-chat-input::placeholder { color: rgba(58,74,88,.4); }

.ai-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.ai-chat-send:hover { background: var(--gold-light); transform: scale(1.05); }
.ai-chat-send svg { width: 16px; height: 16px; color: var(--navy); }
.ai-chat-send:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Powered by label */
.ai-chat-footer {
  padding: .3rem .75rem .4rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: .65rem;
  color: var(--text-muted);
  background: var(--white);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.ai-chat-footer span { color: var(--gold-dim); font-weight: 600; }

/* Mobile */
@media (max-width: 480px) {
  .ai-chat-panel {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
  }
  .ai-chat-bubble { right: 1rem; bottom: 1.25rem; }
}
