
/* ==========================================================================
   Additions for interior pages — About / Products / Contact
   ========================================================================== */

/* ---------- Logo lockup ---------- */
.brand-logo { height: 40px; width: auto; }
.brand-logo-footer { height: 34px; width: auto; }
.footer-logo-chip { background: #fff; border-radius: var(--radius-sm); padding: 0.4rem 0.75rem; display: inline-flex; }

/* ---------- Page banner (interior hero) ---------- */
.page-banner {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
.page-banner h1 { font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.page-banner .lede { color: var(--color-text-secondary); font-size: 1rem; line-height: 1.7; max-width: 56ch; }
.stat-strip { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-1); }
.stat-strip .cell { padding: 1.1rem 1.25rem; border-right: 1px solid var(--color-border); }
.stat-strip .cell:last-child { border-right: none; }
.stat-strip .num { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--color-secondary); }
.stat-strip .lbl { font-size: 0.72rem; color: var(--color-text-muted); }

/* ---------- Banner media frame ---------- */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--color-border); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-tag { position: absolute; background: rgba(15,23,42,0.82); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.3rem 0.6rem; border-radius: var(--radius-pill); }

/* ---------- Timeline (nav-pill driven) ---------- */
.timeline-nav .nav-link { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--color-text-secondary); border-radius: var(--radius-pill); padding: 0.5rem 1.1rem; border: 1px solid var(--color-border); margin-right: 0.5rem; }
.timeline-nav .nav-link.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.timeline-panel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }

/* ---------- Team cards ---------- */
.team-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .3s ease, transform .3s ease; }
.team-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.team-card .photo { aspect-ratio: 4/3; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 1.35rem; }
.team-card .role { font-size: 0.7rem; font-weight: 700; color: var(--color-primary); letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.team-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.6; }

/* ---------- Filter chips (Products page) ---------- */
.filter-chip { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; padding: 0.5rem 1rem; border-radius: var(--radius-pill); background: var(--color-surface-muted); color: var(--color-text-secondary); border: none; transition: all .2s ease; }
.filter-chip.active, .filter-chip:hover { background: var(--color-primary); color: #fff; }

/* ---------- Advisor tabs (Products page) ---------- */
.advisor-card { background: var(--color-surface-muted); border-radius: var(--radius-lg); padding: 1.5rem; }
.advisor-tabs .nav-link { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--color-text-secondary); border-radius: var(--radius-sm); flex: 1; text-align: center; }
.advisor-tabs .nav-link.active { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-1); }
.advisor-spec-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); }
.advisor-spec-row:last-child { border-bottom: none; }
.advisor-spec-row .k { color: var(--color-text-muted); }
.advisor-spec-row .v { font-weight: 600; text-align: right; }

/* ---------- FAQ accordion ---------- */
.faq-accordion .accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-md) !important; margin-bottom: 0.75rem; overflow: hidden; }
.faq-accordion .accordion-button { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--color-text-primary); }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--color-surface-muted); color: var(--color-primary); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body { color: var(--color-text-secondary); font-size: 0.88rem; line-height: 1.7; }

/* ---------- Contact info cards ---------- */
.info-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-1); }
.info-card .icon-badge { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--color-surface-muted); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }

/* ---------- Guarantee band ---------- */
.guarantee-band { background: var(--color-secondary); border-radius: var(--radius-xl); color: #fff; padding: 2rem; }
.guarantee-band .check { color: var(--color-status-active); }

/* ---------- Map embed ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); height: 260px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Small SLA pill ---------- */
.sla-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; background: var(--color-surface-muted); color: var(--color-text-secondary); padding: .3rem .65rem; border-radius: var(--radius-pill); }

/* ---------- Product spec list (Products page) ---------- */
.product-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); border-color: var(--color-tertiary); }
.product-card .thumb { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--color-surface-muted); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 1.35rem; }
.spec-list .row-line { display: flex; justify-content: space-between; gap: .75rem; font-size: .76rem; padding: .4rem 0; border-top: 1px solid var(--color-border); }
.spec-list .row-line:first-child { border-top: none; }
.spec-list .k { color: var(--color-text-muted); white-space: nowrap; }
.spec-list .v { font-weight: 600; text-align: right; color: var(--color-text-primary); }

/* ---------- Mega menu (Products nav dropdown) ---------- */
.mega-menu {
  min-width: 980px;
  max-width: 92vw;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 1.75rem;
  margin-top: .5rem;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}
.mega-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  color: var(--color-text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.mega-link {
  display: block;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--color-text-primary);
  padding: .4rem 0;
  transition: color .15s ease;
}
.mega-link:hover { color: var(--color-primary); }
.mega-promo {
  background: var(--color-surface-muted);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  height: 100%;
}
.mega-promo .icon-badge { background: #fff; margin-bottom: 1rem; }
.mega-promo h4 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.mega-promo p { font-size: .8rem; color: var(--color-text-secondary); line-height: 1.55; margin-bottom: .9rem; }
.mega-promo a { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--color-primary); }

@media (max-width: 991.98px) {
  .mega-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0;
    box-shadow: none;
    border: none;
    padding: .5rem 0 1rem;
    margin-top: 0;
  }
  .mega-promo { display: none; }
}

/* ---------- Client / Brand logo grid ---------- */
.logo-band { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.logo-band h2 { text-align: center; font-size: 1.6rem; font-weight: 800; }
.logo-band .accent-line { margin-left: auto; margin-right: auto; }
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.logo-card {
  flex: 0 1 150px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: box-shadow .25s ease, transform .25s ease;
}
.logo-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.logo-card img { max-height: 60px; max-width: 100%; object-fit: contain; }

/* ---------- Site-wide scroll-reveal ---------- */
.reveal-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-init.reveal-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Premium motion pass — same palette, elevated polish
   ========================================================================== */

/* ---------- Accent-line draw-in (ties into existing scroll-reveal) ---------- */
.section-heading .accent-line {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .6s cubic-bezier(.22,1,.36,1) .15s;
}
.section-heading.reveal-in .accent-line { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .section-heading .accent-line { transform: scaleX(1); transition: none; }
}

/* ---------- Card thumbnail zoom on hover ---------- */
.hw-card .thumb img,
.product-card .thumb img,
.team-card .photo img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.hw-card:hover .thumb img,
.product-card:hover .thumb img,
.team-card:hover .photo img {
  transform: scale(1.06);
}

/* ---------- Logo grid: grayscale-to-color on hover ---------- */
.logo-card img {
  filter: grayscale(65%);
  opacity: .75;
  transition: filter .35s ease, opacity .35s ease;
}
.logo-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------- Button press feedback ---------- */
.btn-brand-primary:active,
.btn-brand-secondary:active,
.btn-brand-ghost:active {
  transform: scale(.97);
}

/* ---------- Mega menu: fade instead of hard cut ---------- */
.dropdown-menu.mega-menu {
  opacity: 0;
  transition: opacity .22s ease;
}
.dropdown-menu.mega-menu.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .dropdown-menu.mega-menu { transition: none; opacity: 1; }
}

/* ---------- Hero / page-banner entrance (above the fold, so plays on load not scroll) ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .hero-badge, .page-banner .hero-badge {
  animation: heroFadeUp .6s cubic-bezier(.22,1,.36,1) both;
}
.hero h1, .page-banner h1 {
  animation: heroFadeUp .6s cubic-bezier(.22,1,.36,1) .1s both;
}
.hero p.lede, .page-banner p.lede, .hero .col-lg-7 > p {
  animation: heroFadeUp .6s cubic-bezier(.22,1,.36,1) .2s both;
}
.hero .d-flex.flex-wrap.gap-3.mt-4, .page-banner .d-flex.flex-wrap.gap-3.mt-4 {
  animation: heroFadeUp .6s cubic-bezier(.22,1,.36,1) .3s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-badge, .page-banner .hero-badge,
  .hero h1, .page-banner h1,
  .hero p.lede, .page-banner p.lede, .hero .col-lg-7 > p,
  .hero .d-flex.flex-wrap.gap-3.mt-4, .page-banner .d-flex.flex-wrap.gap-3.mt-4 {
    animation: none; opacity: 1;
  }
}
