/* Portada principal */
.mts-portada {
  min-height: clamp(400px, 56svh, 660px);
}
.mts-portada .mts-landscape img { display: block; object-position: center 54%; }
.mts-portada::before {
  background: linear-gradient(90deg, rgb(5 30 46 / .90) 0%, rgb(9 39 53 / .71) 38%, rgb(8 37 47 / .20) 78%), linear-gradient(0deg, rgb(4 25 35 / .28), transparent 60%);
}
.mts-portada .mts-hero-copy { padding-block: clamp(48px, 6vw, 100px); }
.mts-portada .mts-hero-copy::before {
  content: ""; display:block; width:60px; height:4px; margin-bottom:24px; background:var(--mts-aqua);
}
.mts-home .mts-portada h1 {
  max-width: 20ch; font-size: clamp(2.55rem, 4.8vw, 4.8rem); line-height:1.04; letter-spacing:-.045em; text-wrap:balance;
}
.mts-home .mts-portada p { max-width: 49ch; font-size:clamp(1.05rem,1.45vw,1.35rem); line-height:1.5; margin-top:18px; }
.mts-portada-contacto { display:inline-flex; align-items:center; gap:1.5em; margin-top:26px; padding:14px 23px; border-radius:4px; background:#65e5cd; color:#082e36; font-weight:730; text-decoration:none; }
.mts-portada-contacto:hover { background:#96f1df; }
.mts-portada-contacto:focus-visible { outline:3px solid white; outline-offset:4px; }
.mts-cifras { background:#fff; border-bottom:1px solid #d4e4e0; }
.mts-cifras dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-block:0; padding-block:clamp(30px,4.2vw,68px); }
.mts-cifras dl > div { display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 14px; }
.mts-cifras dl > div + div { border-inline-start:1px solid #d4e4e0; }
.mts-cifras dt { color:#395663; font-size:clamp(.88rem,1.2vw,1.06rem); line-height:1.35; text-wrap:balance; }
.mts-cifras dd { order:-1; margin:0 0 8px; color:var(--mts-ink); font-weight:760; letter-spacing:-.055em; font-size:clamp(2.5rem,4vw,3.9rem); line-height:1; }
@media (max-width:680px) {
  .mts-portada { min-height:360px; }
  .mts-portada .mts-landscape img { object-position:64% center; }
  .mts-portada::before { background:linear-gradient(90deg,rgb(5 30 46 / .88),rgb(6 34 46 / .62) 70%,rgb(6 34 46 / .45)); }
  .mts-home .mts-portada h1 { font-size:clamp(2rem,8.4vw,3.25rem); }
  .mts-cifras dl { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:28px; }
  .mts-cifras dl > div:nth-child(odd) { border-inline-start:0; }
}

/* Galería de servicios de la portada */
.mts-service-gallery {
  background: #0c2b3b;
  color: #fff;
  padding-block: clamp(44px, 5.8vw, 84px);
}
.mts-service-gallery h2 { margin: 0 0 clamp(24px, 3vw, 40px); text-align: center; color: #fff; }
.mts-service-photos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(25px, 3.1vw, 44px) clamp(16px, 2vw, 28px);
}
.mts-service-photos figure { grid-column: span 2; margin: 0; min-width: 0; }
.mts-service-photos figure:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
.mts-service-photos img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; border-radius: 5px; background: #193c4b;
}
.mts-service-photos figcaption {
  border-inline-start: 3px solid #65e5cd; padding-inline-start: 12px;
  margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 650; line-height: 1.35; color: #f4faf9; text-wrap: balance;
}
.mts-company-intro { display: grid; gap: 24px; max-width: 800px; }
.mts-home .mts-company-intro p { margin: 0; }
@media (max-width: 850px) {
  .mts-service-photos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mts-service-photos figure, .mts-service-photos figure:nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
}
@media (max-width: 540px) {
  .mts-service-photos { grid-template-columns: minmax(0,1fr); }
}

/* Cobertura geográfica */
.mts-presencia { padding-block:clamp(42px,6vw,80px); border-top:1px solid #cfdedb; background:#fff; }
.mts-presencia h2 { margin-bottom:clamp(24px,3vw,38px); }
.mts-world-map { display:block; width:100%; height:auto; background:#f3f8f7; border:1px solid #cfdfdc; border-radius:6px; }
