/* Tramontana — Testimonios */
/* Todo acotado a .trt-sec · pensado para fondo oscuro */

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

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

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

.trt-sec h2, .trt-sec h3 { margin: 0; }

/* encabezado */
.trt-sec .trt-head {
  max-width: 760px;
  margin: 0 auto 48px;
}

.trt-sec span.trt-eyebrow {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  color: #76d8ff;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.trt-sec h2.trt-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;
}

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

/* grid */
.trt-grid {
  --trt-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--trt-cols), minmax(0, 1fr));
  gap: 26px;
}

/* tarjeta */
.trt-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  transition: transform .25s ease, border-color .25s ease;
}

.trt-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .24);
}

.trt-stars {
  display: block;
  margin-bottom: 16px;
  color: #f4c955;
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1;
}

.trt-sec p.trt-texto {
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.68;
  text-transform: none;
  color: rgba(255, 255, 255, .86);
}

.trt-quien {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trt-av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, .12);
  flex: 0 0 auto;
}

.trt-quien b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.trt-quien span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
}

/* responsive */
@media (max-width: 1180px) {
  .trt-grid { --trt-cols: 2; }
  .trt-sec { padding: 76px 26px; }
  .trt-sec h2.trt-titulo { font-size: 38px; letter-spacing: -.9px; }
}

@media (max-width: 767px) {
  .trt-grid { --trt-cols: 1; }
  .trt-sec { padding: 60px 18px; }
  .trt-sec .trt-head { margin-bottom: 32px; }
  .trt-sec h2.trt-titulo { font-size: 30px; letter-spacing: -.6px; }
  .trt-sec p.trt-bajada { font-size: 15px; }
  .trt-grid { gap: 16px; }
  .trt-card { padding: 24px; }
  .trt-sec p.trt-texto { font-size: 14.5px; }
}


/* resumen de Google */
.trt-resumen {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 18px 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
}

.trt-res-nota {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.4px;
  color: #f4c955;
}

.trt-res-info { display: grid; gap: 4px; }
.trt-res-info .trt-stars { margin: 0; font-size: 14px; }

.trt-res-info small {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}

.trt-sec a.trt-res-link {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.trt-sec a.trt-res-link:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .6);
}

/* nombre enlazado al perfil del autor */
.trt-sec .trt-quien b a {
  color: inherit;
  text-decoration: none;
}

.trt-sec .trt-quien b a:hover { text-decoration: underline; }

/* atribución */
.trt-sec p.trt-credito {
  margin: 26px 0 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, .45);
}

@media (max-width: 767px) {
  .trt-resumen { padding: 14px 18px; gap: 12px; }
  .trt-res-nota { font-size: 30px; }
}
