/* Tramontana — Proyectos */
/* Todo acotado a .trp-pj-sec */

.trp-pj-sec,
.trp-pj-sec *,
.trp-pj-sec *::before,
.trp-pj-sec *::after { box-sizing: border-box; }

.trp-pj-sec {
  --pj-gold: #f4c955;
  --pj-sky: #76d8ff;
  width: 100%;
  padding: 92px 46px;
  background: #061a2e;
  font-family: Montserrat, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.trp-pj-sec__in {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.trp-pj-sec a { text-decoration: none; }
.trp-pj-sec h2, .trp-pj-sec h3 { margin: 0; }
.trp-pj__i { width: 15px; height: 15px; flex: 0 0 auto; }

/* encabezado */
.trp-pj-sec .trp-pj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-bottom: 48px;
}

.trp-pj-sec .trp-pj-head__txt { max-width: 700px; flex: 1 1 420px; }

.trp-pj-sec span.trp-pj-eyebrow {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  color: var(--pj-sky);
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.trp-pj-sec h2.trp-pj-titulo {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.3px;
  text-transform: none;
  color: #fff;
}

.trp-pj-sec p.trp-pj-bajada {
  margin: 0;
  padding: 0;
  max-width: 460px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  text-transform: none;
  color: rgba(255, 255, 255, .78);
}

/* bloque escenario + lista */
.trp-pj {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
}

.trp-pj__stage {
  position: relative;
  min-height: var(--pj-alto, 560px);
  background: #0a2036;
}

.trp-pj__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}

.trp-pj__slide.on { opacity: 1; visibility: visible; }

.trp-pj__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.trp-pj__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 18, 34, .94) 0%, rgba(4, 18, 34, .5) 45%, rgba(4, 18, 34, .15) 100%);
}

.trp-pj__in { position: relative; z-index: 2; width: 100%; color: #fff; }

.trp-pj__badge {
  display: inline-flex;
  padding: 7px 14px;
  margin-bottom: 16px;
  border-radius: 3px;
  background: var(--pj-gold);
  color: #16233a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.trp-pj__in h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -1px;
  margin: 0 0 8px;
  color: #fff;
}

.trp-pj__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #cfe2f2;
}

.trp-pj__sp { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.trp-pj__sp span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
}

.trp-pj__bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.trp-pj__bot small {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.trp-pj__bot b {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.8px;
  color: var(--pj-gold);
}

.trp-pj__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 5px;
  background: var(--pj-gold);
  color: #16233a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}

.trp-pj__cta:hover { transform: translateY(-2px); filter: brightness(1.05); color: #16233a; }

/* lista lateral */
.trp-pj__list {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .04);
}

.trp-pj__list button.trp-pj__item {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  flex: 1;
  padding: 22px 24px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background .22s ease;
}

.trp-pj__list button.trp-pj__item:last-child { border-bottom: 0; }
.trp-pj__list button.trp-pj__item:hover { background: rgba(255, 255, 255, .06); }

.trp-pj__list button.trp-pj__item[aria-selected="true"] {
  background: rgba(244, 201, 85, .13);
  box-shadow: inset 3px 0 0 var(--pj-gold);
}

.trp-pj__thumb {
  width: 76px;
  height: 60px;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
  background-color: #123;
  flex: 0 0 auto;
}

.trp-pj__meta { min-width: 0; flex: 1; }

.trp-pj__meta b {
  display: block;
  margin-bottom: 3px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: #fff;
}

.trp-pj__meta span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trp-pj__from { text-align: right; flex: 0 0 auto; }

.trp-pj__from small {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.trp-pj__from b { font-size: 15px; font-weight: 800; color: var(--pj-gold); }

/* responsive */
@media (max-width: 1180px) {
  .trp-pj-sec { padding: 76px 26px; }
  .trp-pj { grid-template-columns: 1fr; }
  .trp-pj__stage { --pj-alto: 440px; }
  .trp-pj-sec h2.trp-pj-titulo { font-size: 38px; letter-spacing: -.9px; }
}

@media (max-width: 767px) {
  .trp-pj-sec { padding: 60px 18px; }
  .trp-pj-sec .trp-pj-head { margin-bottom: 32px; }
  .trp-pj-sec h2.trp-pj-titulo { font-size: 30px; letter-spacing: -.6px; }
  .trp-pj-sec p.trp-pj-bajada { font-size: 15px; }
  .trp-pj__stage { --pj-alto: 380px; }
  .trp-pj__slide { padding: 24px; }
  .trp-pj__in h3 { font-size: 26px; }
  .trp-pj__bot b { font-size: 22px; }
  .trp-pj__list button.trp-pj__item { padding: 16px; }
  .trp-pj__thumb { width: 60px; height: 48px; }
}
