/* ================================================================
   ALUMAX INTERNATIONAL — inner-pages.css
   Shared stylesheet for Services / Industries / About Us
   Extends the design tokens from style.css (homepage).
   Load style.css FIRST, then this file, on every inner page.
   ================================================================ */

/* ─── PAGE HERO (sub-pages) ──────────────────────────────────── */
.page-hero {
  position: relative;
  margin-top: var(--header-h);
  padding: 76px var(--px) 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 60%, #1c0a12 100%);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.012) 40px, rgba(255,255,255,0.012) 80px);
  pointer-events: none;
}
.page-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 64px;
  text-align: center;
}
.page-hero__eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FF8A9B;
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.page-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Breadcrumb inside hero */
.page-hero__crumb {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 6px;
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
}
.page-hero__crumb a { color: rgba(255,255,255,0.5); }
.page-hero__crumb a:hover { color: var(--white); }
.page-hero__crumb span { color: rgba(255,255,255,0.3); }
.page-hero__crumb [aria-current] { color: var(--red); font-weight: 600; }

/* Stat row inside page hero */
.page-hero__stats {
  position: relative; z-index: 1;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.phs__item {
  flex: 1;
  text-align: center;
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.phs__item:last-child { border-right: none; }
.phs__item strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.phs__item span {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-light);
}

/* ─── GENERIC SECTION SPACING ────────────────────────────────── */
.pg-section { padding: 88px 0; }
.pg-section--alt { background: var(--offwhite); }
.pg-section--navy { background: var(--navy); }
.pg-section + .pg-section { border-top: 1px solid var(--border); }
.pg-section--navy + .pg-section,
.pg-section + .pg-section--navy { border-top: none; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Process Steps */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 22px;
  text-align: center;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 34px; right: -10px;
  width: 20px; height: 2px;
  background: var(--border);
}
.process-step__num {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 800;
  border: 3px solid var(--red);
}
.process-step h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* Service Cards (large, with image + content) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
}
.service-block:not(:last-child) { border-bottom: 1px solid var(--border); }
.service-block--reverse .service-block__media { order: 2; }
.service-block--reverse .service-block__text { order: 1; }

.service-block__media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.service-block__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-block__media .img-placeholder { position: absolute; inset: 0; border-radius: var(--radius-lg); min-height: unset; }

.service-block__text .eyebrow { margin-bottom: 10px; }
.service-block__text h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}
.service-block__text p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.service-block__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.service-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--steel);
}
.service-block__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

/* Service Quick Cards Grid */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--red); }
.svc-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--red-light);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.svc-card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.svc-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.svc-card__link { font-family: var(--ff-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   INDUSTRIES PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Big industry feature blocks */
.industry-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.industry-feature--reverse { grid-template-columns: 1.15fr 0.85fr; }
.industry-feature--reverse .industry-feature__media { order: 2; }
.industry-feature--reverse .industry-feature__body { order: 1; }

.industry-feature__media {
  position: relative;
  min-height: 320px;
  background: var(--offwhite);
}
.industry-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry-feature__media .img-placeholder { position: absolute; inset: 0; min-height: unset; border: none; border-radius: 0; }
.industry-feature__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
}

.industry-feature__body {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.industry-feature__icon { font-size: 2.2rem; margin-bottom: 14px; }
.industry-feature__body h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.industry-feature__body p { font-size: 0.9rem; color: var(--muted); line-height: 1.72; margin-bottom: 18px; }
.industry-feature__products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.industry-feature__products span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--offwhite);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: 50px;
}
.industry-feature__cta {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

/* Industry stat strip */
.ind-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ind-stats__item {
  background: var(--navy);
  padding: 32px 20px;
  text-align: center;
}
.ind-stats__item strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.ind-stats__item span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT US PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Story split */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story__media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__media .img-placeholder { position: absolute; inset: 0; min-height: unset; border-radius: var(--radius-lg); }
.story__text p { font-size: 0.93rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }

/* Timeline (real chronological sequence — numbering justified) */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-left: 76px;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item__year {
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 800;
  border: 3px solid var(--red);
  z-index: 1;
}
.timeline-item h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  padding-top: 10px;
}
.timeline-item p { font-size: 0.86rem; color: var(--muted); line-height: 1.68; }

/* Leadership / values grid */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card { text-align: center; padding: 8px; }
.value-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.value-card h3 { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* Certifications row (reuse about__badge style from homepage, extended) */
.cert-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-row__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.cert-row__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.cert-row__item strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cert-row__item p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ─── SHARED: CTA BAND (inner pages) ─────────────────────────── */
.pg-cta {
  background: var(--red);
  padding: 64px var(--px);
}
.pg-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pg-cta__text h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 8px;
}
.pg-cta__text h2 em { font-style: normal; color: var(--navy); }
.pg-cta__text p { font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.pg-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pg-cta .btn--primary { background: var(--white); color: var(--red); border-color: var(--white); }
.pg-cta .btn--primary:hover { background: var(--offwhite); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero__stats { flex-wrap: wrap; }
  .phs__item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .process-step::after { display: none; }

  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block--reverse .service-block__media,
  .service-block--reverse .service-block__text { order: unset; }

  .svc-cards { grid-template-columns: repeat(2, 1fr); }

  .industry-feature,
  .industry-feature--reverse { grid-template-columns: 1fr; }
  .industry-feature--reverse .industry-feature__media,
  .industry-feature--reverse .industry-feature__body { order: unset; }
  .industry-feature__media { min-height: 260px; }

  .ind-stats { grid-template-columns: repeat(2, 1fr); }

  .story__grid { grid-template-columns: 1fr; gap: 32px; }

  .values__grid { grid-template-columns: repeat(2, 1fr); }

  .cert-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-hero { padding-top: 60px; }
  .page-hero__inner { padding-bottom: 44px; }
  .page-hero__actions { flex-direction: column; }
  .page-hero__actions .btn { width: 100%; justify-content: center; }
  .phs__item { flex: 1 1 100%; }

  .pg-section { padding: 56px 0; }

  .process__grid { grid-template-columns: 1fr; }

  .svc-cards { grid-template-columns: 1fr; }

  .ind-stats { grid-template-columns: 1fr; }

  .values__grid { grid-template-columns: 1fr; }

  .cert-row[style] { grid-template-columns: 1fr !important; }

  .timeline-item { padding-left: 64px; }
  .timeline::before { left: 24px; }
  .timeline-item__year { width: 48px; height: 48px; font-size: 0.74rem; }

  .pg-cta__inner { flex-direction: column; text-align: center; }
  .pg-cta__actions { width: 100%; flex-direction: column; }
  .pg-cta__actions .btn { justify-content: center; }
}
