/* ============================================
   PAGES - Google / Material Inspired
   Inner Pages Styles
   ============================================ */

/* === PAGE HERO (inner pages) === */

.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-3xl);
  background: var(--color-bg-dark);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #202124 0%, #303134 50%, #3C4043 100%);
  pointer-events: none;
}

.page-hero--short {
  min-height: 30vh;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(32, 33, 36, 0.4) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.9);
  background: none;
  opacity: 0.9;
}

.page-hero .section-label::before {
  display: none;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: var(--tracking-tight);
}

.page-hero__desc {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-text-inverse);
  max-width: 600px;
  line-height: var(--leading-normal);
}

/* === PAGE CONTENT === */

.page-content {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.page-content p {
  margin-bottom: var(--space-md);
  max-width: 720px;
  line-height: var(--leading-normal);
}

.page-content h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

/* === EXPERTISE PAGE === */

.expertise-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .expertise-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .expertise-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expertise-service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
}

.expertise-service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.expertise-service-card h4 {
  margin-bottom: var(--space-xs);
}

.expertise-service-card p {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* AI callout */
.ai-callout {
  background: var(--color-bg-blue);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-2xl) 0;
}

.ai-callout__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  text-transform: none;
  letter-spacing: var(--tracking-normal);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.ai-callout p {
  color: var(--color-text-secondary);
  max-width: none;
}

/* Related expertise */
.related-expertise {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  -webkit-overflow-scrolling: touch;
}

.related-expertise::-webkit-scrollbar { display: none; }

.related-expertise .card--expertise {
  min-width: 300px;
  flex-shrink: 0;
}

/* === INSIGHTS PAGE === */

.insights-filter {
  position: sticky;
  top: 64px;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-2xl);
}

.insights-filter__inner {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  -webkit-overflow-scrolling: touch;
}

.insights-filter__inner::-webkit-scrollbar { display: none; }

.insights-filter__btn {
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
  background: transparent;
  cursor: pointer;
}

.insights-filter__btn:hover,
.insights-filter__btn.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-bg-blue);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card--insight-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

@media (min-width: 768px) {
  .card--insight-featured {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
}

/* === CONTACT PAGE === */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === ABOUT PAGE === */

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-value {
  padding: var(--space-xl);
  border-left: 3px solid var(--color-accent);
  background: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: none;
  border-top: 1px solid var(--color-border-light);
  border-right: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--duration-base);
}

.about-value:hover {
  border-left-color: var(--color-accent-dark);
  box-shadow: var(--shadow-sm);
}

.about-value h4 {
  margin-bottom: var(--space-xs);
}

.about-value p {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}
