/* Somos INALKO uses the site's existing identity and shared controls. */
.inner-view-team .inner-hero { padding-bottom: 48px; }
.inner-view-team .inner-hero h1 { max-width: 900px; }
.inner-view-team .inner-hero-image { margin-bottom: 0; }
.inner-view-team .inner-hero-image img {
  display: block;
  height: auto;
  object-fit: contain;
}
.team-introduction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 88px 0 100px;
}
.team-introduction h2 { font-size: clamp(46px, 5vw, 68px); line-height: 1.04; margin: 0; }
.team-introduction-copy p { font-size: 20px; line-height: 1.6; color: var(--inalko-muted); max-width: 48ch; }
.team-introduction-copy .text-link { margin-top: 26px; }
.team-people { padding-bottom: 90px; }
.team-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}
.team-section-heading h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; margin: 0; }
.team-section-heading > p { font-size: 17px; color: var(--inalko-muted); flex-shrink: 0; }
.team-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.team-person { min-width: 0; overflow: hidden; border-radius: 28px; background: var(--inalko-surface); }
/* Match the original portraits and keep faces, shoulders and hands in frame. */
.team-person-portrait { aspect-ratio: 3 / 4; overflow: hidden; }
.team-person-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.team-person-copy { padding: 34px 36px 38px; }
.team-person-copy h3 { font-size: 32px; line-height: 1.1; margin: 0 0 20px; }
.team-person-copy p { font-size: 17px; line-height: 1.65; color: var(--inalko-muted); }
.team-person-copy p + p { margin-top: 18px; }
.team-next-step {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: start;
  background: var(--inalko-surface);
  padding: 56px;
  border-radius: 28px;
}
.team-next-copy h2 { font-size: clamp(32px, 3vw, 42px); line-height: 1.1; margin: 0 0 24px; max-width: 13ch; }
.team-next-copy p { font-size: 17px; line-height: 1.65; color: var(--inalko-muted); }
.team-next-copy p + p { margin-top: 20px; }
.team-next-copy p a { text-decoration: underline; text-underline-offset: 4px; }
.team-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.team-visit { border-left: 1px solid var(--inalko-line); padding: 8px 0 8px 42px; }
.team-visit h3 { font-size: 28px; line-height: 1.12; margin: 0 0 22px; }
.team-visit p { font-size: 17px; line-height: 1.65; color: var(--inalko-muted); }
.team-visit .text-link { display: flex; width: fit-content; min-height: 44px; margin-top: 12px; }

@media (max-width: 1000px) {
  .team-introduction { gap: 40px; }
  .team-person-copy { padding: 28px; }
  .team-next-step { gap: 36px; padding: 40px; }
  .team-visit { padding-left: 28px; }
}
@media (max-width: 767px) {
  .inner-view-team .inner-hero { padding-bottom: 32px; }
  .inner-view-team .inner-hero h1 { font-size: clamp(44px, 7.8vw, 58px); }
  .inner-view-team .inner-lead { font-size: 18px; max-width: 28ch; margin-top: 22px !important; }
  .inner-view-team .inner-hero-image img { border-radius: 20px; }
  .team-introduction { grid-template-columns: 1fr; gap: 26px; padding: 54px 0 60px; }
  .team-introduction h2 { font-size: 46px; }
  .team-introduction-copy p { font-size: 18px; }
  .team-introduction-copy .text-link { margin-top: 22px; }
  .team-people { padding-bottom: 55px; }
  .team-section-heading { display: block; margin-bottom: 28px; }
  .team-section-heading h2 { font-size: clamp(32px, 5.8vw, 40px); }
  .team-section-heading > p { font-size: 16px; margin-top: 20px; }
  .team-profiles { grid-template-columns: 1fr; gap: 24px; }
  .team-person { width: 100%; max-width: 600px; margin-inline: auto; border-radius: 20px; }
  .team-person-copy { padding: 28px 24px 32px; }
  .team-person-copy h3 { font-size: 30px; margin-bottom: 18px; }
  .team-next-step { grid-template-columns: 1fr; padding: 32px 24px; gap: 36px; border-radius: 20px; }
  .team-next-copy h2 { font-size: 34px; }
  .team-actions { align-items: flex-start; flex-direction: column; }
  .team-visit { border-left: 0; border-top: 1px solid var(--inalko-line); padding: 32px 0 0; }
  .team-visit h3 { font-size: 28px; }
}
