/* ==========================================================================
   TechAxis Intelligence — Solutions home, visual layer
   Loads AFTER styles.css. Adds the hero composite, proof strip, bento
   solution grid, FAQ and motion. Does not change any existing rule.
   ========================================================================== */

.accent { color: var(--gold-200); }

/* ---------- Hero: copy + product composite ---------- */
.hero--visual .hero__inner { max-width: var(--shell); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero--visual .hero__copy { max-width: 36rem; }
.hero--visual .hero__art { opacity: .18; }

.mock { position: relative; min-height: 560px; }
.mock__cap {
  position: absolute; left: 0; right: 0; bottom: -2.2rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-soft); opacity: .8;
}
.pane {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.7);
  font-size: .86rem; line-height: 1.4;
}
.pane__bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .95rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
}
.pane__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.pane__body { padding: .2rem .95rem .95rem; display: grid; gap: .5rem; }

.pane--call {
  left: 0; top: 0; width: min(290px, 64%);
  background: linear-gradient(180deg, #14264A, #0E1C36);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--on-dark);
  animation: drift 9s ease-in-out infinite;
}
.pane--call .pane__bar { color: var(--gold-200); }
.bubble {
  padding: .55rem .75rem; border-radius: 8px;
  background: rgba(255,255,255,.07); color: var(--on-dark-soft);
}
.bubble--ai { background: rgba(30,111,224,.22); color: #DCE8FB; justify-self: end; max-width: 92%; }
.bubble--done {
  display: flex; align-items: center; gap: .55rem;
  background: rgba(201,151,59,.16); color: var(--gold-200);
  border: 1px solid rgba(201,151,59,.5); font-weight: 600;
}
.tick {
  flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--gold); position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid var(--navy-900); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.pane--lead {
  right: 0; top: 205px; width: min(290px, 64%);
  background: #fff; color: var(--ink);
  animation: drift 11s ease-in-out -3s infinite;
}
.pane--lead .pane__bar { color: var(--muted); border-bottom: 1px solid var(--line); }
.stage {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .5rem .65rem; border-radius: 6px; background: var(--mist);
}
.stage b { font-weight: 600; }
.stage span {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stage--on { background: #FBF3E3; box-shadow: inset 3px 0 0 var(--gold); }
.stage--on span { color: var(--gold-deep); }

.pane--search {
  left: 0; bottom: 0; width: min(330px, 74%);
  background: #fff; color: var(--ink);
  animation: drift 10s ease-in-out -6s infinite;
}
.pane--search .pane__body { padding-top: .85rem; }
.sbar {
  display: flex; align-items: center; gap: .55rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem .85rem; color: var(--slate);
}
.sbar i {
  width: .8rem; height: .8rem; border: 2px solid var(--slate); border-radius: 50%; position: relative; flex: none;
}
.sbar i::after {
  content: ""; position: absolute; width: 2px; height: .4rem; background: var(--slate);
  right: -3px; bottom: -5px; transform: rotate(-45deg);
}
.result { display: grid; gap: .3rem; padding: .35rem .15rem; }
.result i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.result i:nth-child(1) { width: 62%; background: var(--blue); }
.result i:nth-child(2) { width: 92%; }
.result i:nth-child(3) { width: 78%; }
.result--first { border-left: 3px solid var(--gold); padding-left: .6rem; }

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- Proof strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__item {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__num {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--navy-800);
}
.strip__num em { font-style: normal; color: var(--gold-deep); }
.strip__label { display: block; margin-top: .55rem; color: var(--slate); font-size: .95rem; }

/* ---------- Bento solution grid (dark) ---------- */
.section--deep {
  background:
    radial-gradient(90% 60% at 85% 0%, #16294A 0%, rgba(22,41,74,0) 60%),
    var(--navy-900);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.1rem;
}
.tile {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--on-dark-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.tile:hover { border-color: rgba(227,183,92,.7); transform: translateY(-3px); }
.tile--a { grid-column: span 3; }
.tile--b { grid-column: span 3; }
.tile--c { grid-column: span 2; }
.tile--d { grid-column: span 2; }
.tile--e { grid-column: span 2; }
.tile--f { grid-column: span 6; flex-direction: row; }
.tile--f .tile__vis { flex: 0 0 42%; border-bottom: 0; border-right: 1px solid var(--on-dark-line); }

.tile__vis {
  position: relative; min-height: 190px; padding: 1.25rem;
  background: rgba(10,21,38,.55);
  border-bottom: 1px solid var(--on-dark-line);
  display: flex; flex-direction: column; justify-content: center; gap: .55rem;
}
.tile__body { padding: 1.5rem 1.5rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tile__num {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-200); margin-bottom: .55rem;
}
.tile__title { font-size: 1.45rem; color: var(--on-dark); }
.tile__desc { margin-top: .6rem; color: var(--on-dark-soft); font-size: .97rem; }
.tile__kpis { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tile__kpis li {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-soft); border: 1px solid var(--on-dark-line); border-radius: 999px; padding: .3rem .6rem;
}
.tile__link {
  margin-top: auto; padding-top: 1.25rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-200); text-decoration: none;
}
.tile__link::after { content: " \2192"; }
/* whole tile is clickable */
.tile__link::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.tile:hover .tile__link { color: #fff; }
.tile:focus-within { outline: 3px solid var(--gold-200); outline-offset: 3px; }
.tile__link:focus-visible { outline: 0; }

/* mini visuals */
.v-row {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.07); border-radius: 8px; padding: .5rem .7rem;
  font-size: .8rem; color: var(--on-dark-soft);
}
.v-row--ai { background: rgba(30,111,224,.22); color: #DCE8FB; margin-left: 12%; }
.v-row--gold { background: rgba(201,151,59,.16); color: var(--gold-200); border: 1px solid rgba(201,151,59,.5); font-weight: 600; }
.v-dot { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--blue-300); }
.v-row--gold .v-dot { background: var(--gold); }

.v-funnel { display: grid; gap: .4rem; }
.v-bar { height: 26px; border-radius: 5px; background: rgba(94,157,247,.35); display: flex; align-items: center; padding-left: .6rem;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #DCE8FB; }
.v-bar:nth-child(1) { width: 100%; }
.v-bar:nth-child(2) { width: 74%; background: rgba(94,157,247,.5); }
.v-bar:nth-child(3) { width: 48%; background: rgba(201,151,59,.55); color: #fff; }

.v-chain { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .3rem; }
.v-chain span { white-space: nowrap;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark); border: 1px solid var(--on-dark-line); border-radius: 6px; padding: .45rem .55rem; background: rgba(255,255,255,.05);
}
.v-chain span:last-child { border-color: var(--gold); color: var(--gold-200); }
.v-chain b { color: var(--gold-200); font-weight: 400; }

.v-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.v-grid i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.16); }
.v-grid i.on { background: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,59,.25); }

.v-hours { display: grid; gap: .55rem; }
.v-hours div { display: grid; gap: .25rem; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.v-hours i { display: block; height: 14px; border-radius: 4px; background: rgba(255,255,255,.2); }
.v-hours div:last-child i { width: 34%; background: var(--gold); }

.v-search .sbar { background: rgba(255,255,255,.06); border-color: var(--on-dark-line); color: var(--on-dark-soft); }
.v-search .sbar i { border-color: var(--on-dark-soft); }
.v-search .sbar i::after { background: var(--on-dark-soft); }
.v-search .result i { background: rgba(255,255,255,.16); }
.v-search .result i:nth-child(1) { background: var(--blue-300); }
.v-search .result--first { border-left-color: var(--gold); }

/* ---------- Light intro layout tweaks ---------- */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lede { margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; display: grid; gap: .75rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.35rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.5rem; color: var(--gold-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.35rem 1.3rem; color: var(--slate); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .mock { min-height: 520px; max-width: 520px; margin-bottom: 2.5rem; }
  .strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tile--a, .tile--b { grid-column: span 6; }
  .tile--c, .tile--d { grid-column: span 3; }
  .tile--e { grid-column: span 6; }
  .tile--f { flex-direction: column; }
  .tile--f .tile__vis { flex: none; border-right: 0; border-bottom: 1px solid var(--on-dark-line); }
}
@media (max-width: 640px) {
  .mock { min-height: 0; display: grid; gap: 1rem; }
  .pane { position: relative; inset: auto; width: 100%; animation: none; }
  .mock__cap { position: static; }
  .tile--c, .tile--d { grid-column: span 6; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pane { animation: none; }
  .tile { transition: none; }
}
