/* ============================================================
   Hiraki Localization — Insight Slides (modal carousel)
   Consulting-firm gravitas: Bold 700 / Medium 500, navy header
   ============================================================ */

/* ── Banner trigger ───────────────────────────────────────── */
.hl-slides-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 0;
  padding: 18px 24px;
  background: linear-gradient(95deg, #0D2137 0%, #1E3A52 100%);
  border-radius: 14px;
  border: 1px solid rgba(184, 145, 74, .35);
  box-shadow: 0 10px 30px rgba(8, 24, 39, .12);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.hl-slides-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(184, 145, 74, .18) 0%, transparent 70%);
  pointer-events: none;
}
.hl-slides-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(8, 24, 39, .22);
  border-color: rgba(184, 145, 74, .65);
}
.hl-slides-banner__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #B8914A;
  color: #081827;
  border-radius: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  position: relative; z-index: 1;
}
.hl-slides-banner__body {
  flex: 1;
  position: relative; z-index: 1;
}
.hl-slides-banner__kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F5E6CC;
  margin-bottom: 4px;
}
.hl-slides-banner__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -.01em;
}
.hl-slides-banner__title strong {
  color: #F5E6CC;
  font-weight: 700;
}
.hl-slides-banner__cta {
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 9px 18px;
  border-radius: 100px;
  white-space: nowrap;
  position: relative; z-index: 1;
  transition: background .2s ease, border-color .2s ease;
}
.hl-slides-banner:hover .hl-slides-banner__cta {
  background: #B8914A;
  border-color: #B8914A;
}
@media (max-width: 600px) {
  .hl-slides-banner { padding: 14px 16px; gap: 14px; }
  .hl-slides-banner__icon { width: 42px; height: 42px; font-size: 1.25rem; }
  .hl-slides-banner__title { font-size: .92rem; }
  .hl-slides-banner__cta { display: none; }
}

/* ── Modal shell ──────────────────────────────────────────── */
.hl-slides-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 24, 39, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.hl-slides-modal.is-open {
  display: flex;
  opacity: 1;
}
body.hl-slides-no-scroll {
  overflow: hidden;
}

.hl-slides-modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 2;
}
.hl-slides-modal__close:hover {
  background: rgba(255, 255, 255, .22);
}

/* ── Carousel viewport ────────────────────────────────────── */
.hl-slides-stage {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 10;
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
}

.hl-slides-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.hl-slides-track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.hl-slide {
  flex: 0 0 100%;
  height: 100%;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* ── Slide common ─────────────────────────────────────────── */
.hl-slide__kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #B8914A;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hl-slide__kicker::before {
  content: '';
  width: 28px; height: 2px;
  background: #B8914A;
  display: inline-block;
}
.hl-slide__headline {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #081827;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hl-slide__headline em {
  font-style: normal;
  color: #2563EB;
}
.hl-slide__body {
  font-size: 1rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.78;
  margin-bottom: 16px;
}
.hl-slide__body strong { color: #081827; font-weight: 700; }
.hl-slide__footer {
  margin-top: auto;
  font-size: .72rem;
  font-weight: 500;
  color: #94A3B8;
  letter-spacing: .04em;
  border-top: 1px solid #E2E8F0;
  padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
}

/* ── Slide: title (cover) ─────────────────────────────────── */
.hl-slide--title {
  background: linear-gradient(160deg, #081827 0%, #0D2137 55%, #1E3A52 100%);
  color: #fff;
  justify-content: center;
}
.hl-slide--title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 85% 35%, rgba(37, 99, 235, .22) 0%, transparent 70%);
  pointer-events: none;
}
.hl-slide--title .hl-slide__kicker { color: #F5E6CC; }
.hl-slide--title .hl-slide__kicker::before { background: #B8914A; }
.hl-slide--title .hl-slide__headline {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
}
.hl-slide--title .hl-slide__headline em { color: #93C5FD; }
.hl-slide--title .hl-slide__body {
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
  max-width: 640px;
}
.hl-slide--title .hl-title-meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  position: relative; z-index: 1;
}
.hl-slide--title .hl-title-meta img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #B8914A;
  object-fit: cover; object-position: top;
}
.hl-slide--title .hl-title-meta-name {
  font-size: .9rem; font-weight: 700; color: #fff;
}
.hl-slide--title .hl-title-meta-role {
  font-size: .74rem; color: rgba(255,255,255,.55); margin-top: 2px;
}
.hl-slide--title .hl-title-badge {
  position: absolute;
  top: 36px; right: 56px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B8914A;
  background: rgba(184, 145, 74, .12);
  border: 1px solid rgba(184, 145, 74, .35);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── Slide: list ──────────────────────────────────────────── */
.hl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #081827;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}
.hl-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}
.hl-list li:last-child { border-bottom: none; }
.hl-list .hl-list-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.hl-list li strong {
  color: #fff;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
  font-size: .96rem;
}

/* ── Slide: pillars (3-column) ────────────────────────────── */
.hl-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}
.hl-pillar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  position: relative;
}
.hl-pillar__num {
  position: absolute;
  top: 12px; right: 14px;
  font-size: .72rem;
  font-weight: 700;
  color: #B8914A;
  letter-spacing: .08em;
}
.hl-pillar__icon {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.hl-pillar__title {
  font-size: .98rem;
  font-weight: 700;
  color: #081827;
  margin-bottom: 6px;
}
.hl-pillar__desc {
  font-size: .8rem;
  font-weight: 500;
  color: #64748B;
  line-height: 1.55;
}

/* ── Slide: compare (Before/After table) ──────────────────── */
.hl-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 10px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}
.hl-compare__col {
  padding: 20px 22px;
  background: #fff;
}
.hl-compare__col--before { background: #FEF2F2; }
.hl-compare__col--after  { background: #F0FDF4; }
.hl-compare__lbl {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hl-compare__col--before .hl-compare__lbl { color: #B91C1C; }
.hl-compare__col--after  .hl-compare__lbl { color: #15803D; }
.hl-compare__row {
  font-size: .85rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.55;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.hl-compare__row:last-child { border-bottom: none; }
.hl-compare__row strong {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.hl-compare__col--before .hl-compare__row strong { color: #B91C1C; }
.hl-compare__col--after  .hl-compare__row strong { color: #15803D; }

/* ── Slide: quote (statement) ─────────────────────────────── */
.hl-slide--quote {
  background: linear-gradient(160deg, #081827 0%, #0D2137 100%);
  justify-content: center;
}
.hl-slide--quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 30%, rgba(37, 99, 235, .2) 0%, transparent 70%);
  pointer-events: none;
}
.hl-slide--quote .hl-slide__kicker { color: #F5E6CC; position: relative; z-index: 1; }
.hl-slide--quote .hl-slide__kicker::before { background: #B8914A; }
.hl-slide--quote .hl-quote-text {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.42;
  letter-spacing: -.01em;
  position: relative; z-index: 1;
  max-width: 740px;
}
.hl-slide--quote .hl-quote-text em {
  font-style: normal;
  color: #93C5FD;
}
.hl-slide--quote .hl-quote-source {
  margin-top: 24px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  position: relative; z-index: 1;
}

/* ── Slide: stat (single big number) ──────────────────────── */
.hl-slide--stat .hl-stat {
  margin-top: 8px;
  display: flex; align-items: baseline; gap: 18px;
}
.hl-slide--stat .hl-stat__num {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: #2563EB;
  line-height: 1;
  letter-spacing: -.04em;
}
.hl-slide--stat .hl-stat__unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: #081827;
}
.hl-slide--stat .hl-stat__desc {
  margin-top: 16px;
  font-size: .98rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
  max-width: 640px;
}

/* ── Slide: CTA ───────────────────────────────────────────── */
.hl-slide--cta {
  background: linear-gradient(160deg, #081827 0%, #0D2137 100%);
  justify-content: center;
}
.hl-slide--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 85% 40%, rgba(184, 145, 74, .22) 0%, transparent 70%);
  pointer-events: none;
}
.hl-slide--cta .hl-slide__kicker { color: #F5E6CC; position: relative; z-index: 1; }
.hl-slide--cta .hl-slide__kicker::before { background: #B8914A; }
.hl-slide--cta .hl-slide__headline { color: #fff; position: relative; z-index: 1; }
.hl-slide--cta .hl-slide__body { color: rgba(255, 255, 255, .78); position: relative; z-index: 1; }
.hl-slide--cta .hl-slide__body strong { color: #F5E6CC; }
.hl-cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 18px;
  position: relative; z-index: 1;
}
.hl-cta-actions a {
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, background .2s ease;
}
.hl-cta-actions a.hl-cta-primary {
  background: #B8914A;
  color: #081827;
}
.hl-cta-actions a.hl-cta-primary:hover {
  transform: translateY(-2px);
  background: #C9A05B;
}
.hl-cta-actions a.hl-cta-secondary {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
}
.hl-cta-actions a.hl-cta-secondary:hover {
  background: rgba(255, 255, 255, .2);
}

/* ── Controls (footer of stage) ───────────────────────────── */
.hl-slides-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  gap: 16px;
}
.hl-slides-counter {
  font-size: .78rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: .04em;
  min-width: 56px;
}
.hl-slides-counter b { color: #081827; }
.hl-slides-dots {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.hl-slides-dot {
  width: 8px; height: 8px;
  background: #CBD5E1;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hl-slides-dot:hover { background: #94A3B8; }
.hl-slides-dot.is-active {
  background: #B8914A;
  transform: scale(1.3);
}
.hl-slides-nav {
  display: flex; gap: 8px;
}
.hl-slides-arrow {
  width: 38px; height: 38px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #081827;
  transition: background .2s ease, border-color .2s ease;
}
.hl-slides-arrow:hover {
  background: #081827;
  color: #fff;
  border-color: #081827;
}
.hl-slides-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.hl-slides-arrow:disabled:hover {
  background: #fff;
  color: #081827;
  border-color: #E2E8F0;
}

/* ── Progress bar (above stage) ───────────────────────────── */
.hl-slides-progress {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  background: #B8914A;
  width: 0%;
  transition: width .35s ease;
  z-index: 3;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 720px) {
  .hl-slides-modal { padding: 0; }
  .hl-slides-stage {
    aspect-ratio: auto;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .hl-slide { padding: 32px 24px; }
  .hl-slide--title .hl-title-badge { top: 24px; right: 24px; }
  .hl-pillars { grid-template-columns: 1fr; }
  .hl-compare { grid-template-columns: 1fr; }
  .hl-slides-modal__close { top: 12px; right: 12px; }
  .hl-slides-controls { padding: 10px 16px; }
  .hl-slides-counter { font-size: .72rem; min-width: 48px; }
  .hl-slides-dots { gap: 6px; }
  .hl-slides-dot { width: 7px; height: 7px; }
  .hl-slides-arrow { width: 34px; height: 34px; }
}
