/* ============================================================
   THE HUMAN ELEMENT — QUÉ HACEMOS (SERVICIOS Y PROYECTOS)
   ============================================================ */

.services-detailed {
  border-bottom: 1.5px solid var(--he-ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-detail {
  position: relative;
  padding: 48px 40px 56px;
  border-right: 1px solid var(--he-grey);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--dur-base) var(--ease-standard);
}
.service-detail:last-child { border-right: none; }
.service-detail:hover { transform: translateY(-4px); }
.service-detail--orange { background: var(--he-orange-tint); }
.service-detail--lilac { background: var(--he-lilac-tint); }
.service-detail--teal { background: var(--he-teal-tint); }
.service-detail__media { position: relative; overflow: hidden; }
.service-detail__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform var(--dur-slow) var(--ease-standard);
}
.service-detail:hover .service-detail__media img { transform: scale(1.04); }
.service-detail__index {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--he-white);
}
.service-detail--orange .service-detail__index { background: var(--he-orange); }
.service-detail--lilac .service-detail__index { background: var(--he-lilac); }
.service-detail--teal .service-detail__index { background: var(--he-teal); }
.service-detail__bar {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  transition: width var(--dur-base) var(--ease-standard);
}
.service-detail--orange .service-detail__bar { background: var(--he-orange); }
.service-detail--lilac .service-detail__bar { background: var(--he-lilac); }
.service-detail--teal .service-detail__bar { background: var(--he-teal); }
.service-detail:hover .service-detail__bar { width: 40px; }
.service-detail__title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; font-family: var(--font-display); }
.service-detail__body { margin: 0; font-size: 15px; line-height: 1.55; color: var(--he-ink-soft); }
.service-detail__list { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.7; color: var(--he-ink-soft); }
.service-detail__cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 11px 24px;
  background: var(--he-ink);
  color: var(--he-white);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-standard);
}
.service-detail__cta:hover { background: var(--he-teal-deep); color: var(--he-white); }

.catalogo-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 32px clamp(20px, 5vw, 40px);
  border-bottom: 1.5px solid var(--he-ink);
  background: var(--he-ink);
}
.catalogo-band__eyebrow { display: flex; flex-direction: column; gap: 4px; }
.catalogo-band__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--he-blue); font-weight: 700; }
.catalogo-band__title { font-size: 19px; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--he-white); }
.catalogo-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  color: var(--he-white);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: var(--he-blue);
  transition: background var(--dur-base) var(--ease-standard);
}
.catalogo-band__btn:hover { background: var(--he-orange); color: var(--he-white); }

.projects-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: baseline;
  padding: 56px clamp(20px, 5vw, 40px) 0;
}
.projects-header__eyebrow { display: flex; flex-direction: column; gap: 16px; }
.projects-header__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--he-ink-soft); }
.projects-header__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.projects-header__title em { font-family: var(--font-serif); font-style: italic; text-transform: lowercase; font-weight: 400; color: var(--he-orange); }
.projects-header__range { font-size: 13px; color: var(--he-grey-dark); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--he-grey);
}
@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-card { border-right: none !important; }
}
.project-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--he-grey);
  border-right: 1px solid var(--he-grey);
}
.project-card:nth-child(2n) { border-right: none; }
.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--he-grey-light);
}
.project-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--he-grey-dark);
}
.project-card__accent { position: absolute; }
.project-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--he-ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card__nav--prev { left: 12px; }
.project-card__nav--next { right: 12px; }
.project-card__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.project-card__dot { width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--he-grey); }
.project-card__dot.is-active { background: var(--he-orange); }

.project-card__tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.project-card__tag--orange { color: var(--he-orange); }
.project-card__tag--lilac { color: var(--he-lilac-deep); }
.project-card__tag--teal { color: var(--he-teal-deep); }
.project-card__tag--blue { color: var(--he-blue); }
.project-card__title { font-family: var(--font-display); font-weight: 900; font-size: 30px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; }
.project-card__title a { color: inherit; text-decoration: none; }
.project-card__title a:hover { color: var(--he-orange); }
.project-card__desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--he-ink-soft); }
.project-card__long {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--he-ink-soft);
  padding-top: 4px;
}
.project-card__long p { margin: 0; }
.project-card__long[hidden] { display: none; }
.project-card__toggle {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--he-ink);
  cursor: pointer;
  border-bottom: 1.5px solid var(--he-orange);
}
.project-card__meta {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--he-ink-soft);
  border-top: 1px solid var(--he-grey);
  padding-top: 14px;
}
.project-card__meta-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--he-ink); }

.project-card[hidden] { display: none; }

.load-more-row { display: flex; justify-content: center; padding: 40px 0 56px; border-bottom: 1px solid var(--he-grey); }
.load-more-btn {
  padding: 14px 34px;
  background: none;
  border: 1.5px solid var(--he-ink);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--he-ink);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.load-more-btn:hover { background: var(--he-ink); color: var(--he-white); }
.load-more-row[hidden] { display: none; }

/* ---- Portfolio (Innovation Tours / Curated Experiences / Conference Series) ---- */
.portfolio-intro {
  padding: 56px clamp(20px, 5vw, 40px) 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid var(--he-grey);
}
.portfolio-intro__eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--he-ink-soft); }
.portfolio-intro__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.portfolio-intro__title em { font-family: var(--font-serif); font-style: italic; text-transform: lowercase; font-weight: 400; color: var(--he-orange); }
.portfolio-intro__lead { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--he-ink-soft); }

.portfolio-cats { border-bottom: 1.5px solid var(--he-ink); }
.portfolio-cat {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  border-top: 1px solid var(--he-grey);
}
.portfolio-cat__head {
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--he-grey);
}
.portfolio-cat__media { overflow: hidden; }
.portfolio-cat__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform var(--dur-slow) var(--ease-standard);
}
.portfolio-cat__media:hover img { transform: scale(1.04); }
.portfolio-cat__head-copy {
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.portfolio-cat__code { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.portfolio-cat--orange .portfolio-cat__code { color: var(--he-orange); }
.portfolio-cat--lilac .portfolio-cat__code { color: var(--he-lilac-deep); }
.portfolio-cat--teal .portfolio-cat__code { color: var(--he-teal-deep); }
.portfolio-cat__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; }
.portfolio-cat__dek { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--he-ink-soft); line-height: 1.4; }
.portfolio-cat__list { display: flex; flex-direction: column; }
.portfolio-cat__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px clamp(20px, 5vw, 40px);
  border-bottom: 1px solid var(--he-grey);
  font-size: 17px;
  font-weight: 600;
}
.portfolio-cat__item:last-child { border-bottom: none; }
.portfolio-cat__item-tag { font-size: 12px; color: var(--he-grey-dark); font-weight: 500; white-space: nowrap; }
.portfolio-cat__empty { margin: 0; padding: 20px clamp(20px, 5vw, 40px); font-size: 14px; font-style: italic; color: var(--he-grey-dark); }

@media (max-width: 720px) {
  .portfolio-cat { grid-template-columns: 1fr; }
  .portfolio-cat__head { border-right: none; border-bottom: 1px solid var(--he-grey); }
}

/* ---- Pass, parked: quiet single-line mention, not a promoted card ---- */
.parked-note {
  padding: 20px clamp(20px, 5vw, 40px);
  border-bottom: 1.5px solid var(--he-ink);
  font-size: 13px;
  color: var(--he-grey-dark);
}
.parked-note a { color: var(--he-grey-dark); text-decoration: underline; }
.parked-note a:hover { color: var(--he-orange); }

@media (max-width: 640px) {
  .catalogo-band { padding: 24px 24px; }
}
