/* ================================================================
   TRAFFIC MANTRA® — inner-pages.css
   Additional styles for all inner pages (services, industries,
   portfolio, pricing, about, blog, contact, etc.)
   Appended after style.css — never modifies homepage styles.
   ================================================================ */

/* ── INNER PAGE HERO ─────────────────────────────────────────── */
.page-hero {
  background: #EEF3FA;
  padding-top: 66px; /* nav height */
  overflow: hidden;
  position: relative;
}

/* 2-col grid: text left, chart right — mirrors .hero-inner */
.page-hero-inner {
  padding-block: clamp(52px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

/* Left column */
.page-hero-copy {}

.page-hero nav.bc {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  margin-bottom: 16px;
}
.page-hero nav.bc a,
.page-hero nav.bc span {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  color: var(--slate);
}
.page-hero nav.bc a { color: var(--teal); }
.page-hero nav.bc a:hover { text-decoration: underline; }
.page-hero nav.bc .sep { color: var(--muted); margin-inline: 2px; }
.page-hero h1 { color: #1A2332; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero .hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: #4A5568; max-width: 580px; line-height: 1.84; margin-bottom: 28px;
}
.page-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.page-hero .hero-trust { display: flex; flex-wrap: wrap; gap: 9px; }

/* Right column — reuse homepage chart classes as-is */
.page-hero-chart {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  animation: panel-enter .9s cubic-bezier(0.22,1,0.36,1) .2s both;
}

/* Mobile: chart stacks below text, not hidden */
@media (max-width: 900px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }
  .page-hero-chart {
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ── NAV ACTIVE STATE ────────────────────────────────────────── */
.nav-links a.nav-active {
  color: var(--teal);
  background: var(--teal-lt);
}

/* ── HORIZONTAL ENQUIRY FORM (reused on inner pages) ─────────── */
/* Already in style.css — just ensure .hero-form-wrap sits below
   page-hero. Override margin for non-hero context. */
.inner-form-band {
  background: var(--white);
  padding-block: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
}
.inner-form-band .hero-form-wrap {
  padding-block: 0;
  background: transparent;
}
.inner-form-band .hero-form-card {
  box-shadow: var(--sh-md);
}

/* ── SERVICE CARDS GRID ──────────────────────────────────────── */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.srv-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--sh-xs);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .22s;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
}
.srv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--teal-mid);
}
.srv-icon {
  width: 52px; height: 52px;
  background: var(--teal-lt);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: background .22s;
}
.srv-card:hover .srv-icon { background: var(--teal); color: var(--white); }
.srv-card h3 { color: var(--charcoal); font-size: 1.08rem; margin: 0; }
.srv-card p  { font-size: .93rem; color: var(--slate); margin: 0; flex: 1; line-height: 1.68; }
.srv-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  color: var(--teal); margin-top: auto;
  transition: gap .18s;
}
.srv-card:hover .srv-link { gap: 9px; }

/* ── INDUSTRY CARDS GRID ─────────────────────────────────────── */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.ind-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  box-shadow: var(--sh-xs);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .22s;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
}
.ind-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--teal-mid);
}
.ind-icon {
  width: 50px; height: 50px;
  background: var(--teal-lt);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  transition: background .22s;
}
.ind-card:hover .ind-icon { background: var(--teal); color: var(--white); }
.ind-card h3 { color: var(--charcoal); font-size: 1.05rem; margin: 0; }
.ind-card p  { font-size: .91rem; color: var(--slate); margin: 0; flex: 1; line-height: 1.65; }
.ind-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  color: var(--teal); margin-top: auto;
}

/* ── PORTFOLIO GRID ──────────────────────────────────────────── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.port-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform .28s var(--ease), box-shadow .28s;
  display: flex; flex-direction: column;
}
.port-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.port-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--teal-lt) 0%, #dce9f8 100%);
  overflow: hidden;
}
.port-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.port-card:hover .port-thumb img { transform: scale(1.04); }
.port-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--teal); opacity: .55;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
}
.port-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); color: var(--teal);
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}
.port-body { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.port-body h3 { color: var(--charcoal); font-size: 1.1rem; }
.port-body p  { font-size: .91rem; color: var(--slate); line-height: 1.65; flex: 1; }
.port-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.port-tags span {
  background: var(--teal-lt); color: var(--teal);
  font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-pill);
}

/* Portfolio filter tabs */
.port-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.port-filter-btn {
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  padding: 8px 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  color: var(--slate); background: var(--white);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.port-filter-btn:hover,
.port-filter-btn.active {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}

/* ── PRICING GRID ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 26px;
  box-shadow: var(--sh-xs);
  transition: transform .28s var(--ease), box-shadow .28s;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31,119,205,.12), var(--sh-md);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white);
  font-family: var(--font-head); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 18px; border-radius: var(--r-pill);
  white-space: nowrap;
  box-shadow: var(--sh-teal);
}
.price-planet {
  font-family: var(--font-head); font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.price-amount {
  font-family: var(--font-head); font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800; color: var(--charcoal); line-height: 1; letter-spacing: -.03em;
}
.price-sub { font-size: .8rem; color: var(--muted); margin-top: -8px; }
.price-divider { height: 1px; background: var(--border); }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--slate); line-height: 1.55;
}
.price-features li .pf-check {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background: var(--teal-lt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.price-features li .pf-check svg { width: 10px; height: 10px; stroke-width: 3; }
.price-btn { margin-top: auto; text-align: center; justify-content: center; }

/* ── STATS ROW (inner pages) ─────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 20px;
  box-shadow: var(--sh-xs);
}
.stat-box-n {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--teal); letter-spacing: -.04em; line-height: 1;
  margin-bottom: 8px;
}
.stat-box-l {
  font-family: var(--font-head); font-size: .86rem; font-weight: 600;
  color: var(--slate);
}

/* ── AUDIT / CTA BAND (teal) ─────────────────────────────────── */
.audit-band {
  padding-block: clamp(48px, 6vw, 72px);
}
.audit-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.audit-head { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.audit-sub  { font-size: .97rem; color: rgba(255,255,255,.78); margin: 0; }
.audit-ctas { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* Women initiative band */
.init-band {
  background: linear-gradient(135deg, #7B2FF7 0%, #4A1DB8 100%);
  padding-block: clamp(36px, 5vw, 56px);
}
.init-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.init-icon { font-size: 3rem; flex-shrink: 0; }
.init-copy { flex: 1; min-width: 260px; }
.init-copy h3 { color: var(--white); font-size: clamp(1.1rem, 1.8vw, 1.42rem); margin-bottom: 8px; }
.init-copy p  { color: rgba(255,255,255,.8); font-size: .94rem; margin: 0; }

/* ── TESTIMONIAL CARDS (inner pages) ────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  box-shadow: var(--sh-xs);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .28s, transform .28s var(--ease);
}
.testi-card:hover { box-shadow: var(--sh-sm); transform: translateY(-3px); }
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { fill: var(--yellow-vivid); stroke: none; }
.testi-text { font-size: .94rem; color: var(--slate); line-height: 1.7; flex: 1; font-style: italic; }
.testi-text::before { content: '"'; font-size: 2rem; color: var(--teal); line-height: .5; display: block; margin-bottom: 8px; font-style: normal; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal-lt); color: var(--teal);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-info strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--charcoal); }
.testi-info span   { font-size: .8rem; color: var(--muted); }

/* ── FAQ (inner pages, same style as homepage) ───────────────── */
.faq-wrap { max-width: 780px; }
.faq-list { max-width: 780px; }

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE — INNER PAGES ────────────────────────────────── */
@media (max-width: 900px) {
  .srv-grid   { grid-template-columns: repeat(2, 1fr); }
  .ind-grid   { grid-template-columns: repeat(2, 1fr); }
  .port-grid  { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-inner { flex-direction: column; text-align: center; }
  .audit-ctas  { justify-content: center; }
  .init-inner  { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .srv-grid   { grid-template-columns: 1fr; }
  .ind-grid   { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
}
