/* ============================================================
   Surveying page — "Our surveying services"
   Self-contained section (.mtr-ss), built to the client's mockup.
   Loaded on /surveying/ only; reuses the page tokens (--pg-shell).
   No scroll-in animation (site rule) — hover motion only.
   ============================================================ */
.mtr-ss{
  --ss-navy:#0f2f3c;
  --ss-body:#5b6b72;
  --ss-teal:#0f8a96;
  --ss-teal-lt:#3fc9dc;
  --ss-line:#e3ecee;
  --ss-bg:#f7fafa;
  --ss-max:1400px;
  position:relative; isolation:isolate; overflow:hidden; overflow:clip;
  background:var(--ss-bg); color:var(--ss-navy);
  padding:clamp(72px,7vw,120px) 0 clamp(72px,7vw,110px);
}
.mtr-ss__in{position:relative; z-index:1; max-width:var(--ss-max); margin:0 auto; padding-inline:var(--pg-shell);}

/* ── atmospheric landscape, top right, dissolving into the ground ── */
.mtr-ss__atmo{
  position:absolute; z-index:0; top:0; right:0; pointer-events:none;
  width:min(64%,1000px); height:clamp(360px,34vw,520px);
}
.mtr-ss__atmo img{
  width:100%; height:100%; object-fit:cover; object-position:70% 55%; display:block;
  filter:saturate(.55) contrast(.88) brightness(1.1); opacity:.85;
}
.mtr-ss__atmo::before{                     /* contour lines drawn over the hills */
  content:""; position:absolute; inset:-10% -5% 0 18%; z-index:1;
  background:url(../../images/metiri-contours.svg) no-repeat 30% 40%/cover; opacity:.22;
}
.mtr-ss__atmo::after{                      /* fade to the section ground on the left and below */
  content:""; position:absolute; inset:0; z-index:2;
  background:
    linear-gradient(90deg, var(--ss-bg) 0%, rgba(247,250,250,.86) 22%, rgba(247,250,250,0) 62%),
    linear-gradient(0deg, var(--ss-bg) 0%, rgba(247,250,250,.7) 30%, rgba(247,250,250,0) 70%),
    linear-gradient(180deg, rgba(247,250,250,.5) 0%, rgba(247,250,250,0) 30%);
}

/* ── introduction ── */
.mtr-ss__intro{
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start;
  gap:clamp(32px,4vw,80px); margin-bottom:clamp(36px,3.4vw,52px);
}
.mtr-ss__eyebrow{
  display:flex; align-items:center; gap:18px; margin:0 0 clamp(16px,1.4vw,22px);
  font-size:12.5px; font-weight:500; letter-spacing:.32em; text-transform:uppercase; color:var(--ss-navy);
}
.mtr-ss__eyebrow i{display:block; width:42px; height:2px; background:var(--ss-teal); flex:none;}
.mtr-ss h2{
  margin:0 0 clamp(18px,1.6vw,24px);
  font-size:clamp(40px,4.4vw,64px); line-height:1.06; letter-spacing:-.035em; font-weight:700;
  color:var(--ss-navy);
}
.mtr-ss__body{margin:0; max-width:62ch; font-size:clamp(15px,1.12vw,17px); line-height:1.6; color:var(--ss-body);}
.mtr-ss__motto{
  margin:clamp(40px,4.6vw,76px) clamp(0px,4vw,70px) 0 0; padding-left:clamp(22px,2vw,34px);
  border-left:3px solid var(--ss-teal);
  font-size:clamp(12px,.95vw,14px); line-height:2.05; font-weight:500; letter-spacing:.34em;
  text-transform:uppercase; color:var(--ss-navy);
}

/* ── cards ── */
.mtr-ss__cards{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,1.5vw,22px);
  align-items:stretch; margin:0; padding:0; list-style:none;
}
.mtr-ss__card{
  position:relative; display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border:1px solid var(--ss-line); border-radius:20px;
  box-shadow:0 2px 4px rgba(15,47,60,.03), 0 22px 44px -30px rgba(15,47,60,.26);
  transition:transform .3s ease, box-shadow .3s ease;
}
.mtr-ss__card:hover{transform:translateY(-4px); box-shadow:0 2px 4px rgba(15,47,60,.04), 0 30px 54px -30px rgba(15,47,60,.32);}
.mtr-ss__media{position:relative; aspect-ratio:16/9.6; overflow:hidden; background:#dfe8ea;}
.mtr-ss__media img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease;}
.mtr-ss__card:hover .mtr-ss__media img{transform:scale(1.03);}
.mtr-ss__media::after{                     /* shade under the photo caption */
  content:""; position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(6,22,30,.5) 0%, rgba(6,22,30,.12) 42%, rgba(6,22,30,0) 60%);
}
.mtr-ss__cap{
  position:absolute; z-index:1; left:clamp(18px,1.9vw,28px); top:clamp(18px,1.9vw,28px); margin:0;
  font-size:10.5px; line-height:1.95; font-weight:500; letter-spacing:.36em; text-transform:uppercase;
  color:rgba(255,255,255,.92);
}
/* the white panel rises over the photo on a curve */
.mtr-ss__panel{
  position:relative; z-index:2; flex:1; display:flex; flex-direction:column;
  margin-top:-34px; background:#fff; border-radius:0 38px 0 0;
  padding:58px clamp(20px,2vw,30px) clamp(22px,2vw,30px);
}
.mtr-ss__ic{
  position:absolute; left:clamp(16px,1.3vw,20px); top:-40px;
  display:grid; place-items:center; width:74px; height:74px; border-radius:16px;
  background:#fff; color:var(--ss-teal);
  box-shadow:0 10px 24px -12px rgba(15,47,60,.28), 0 0 0 1px rgba(15,47,60,.04);
}
.mtr-ss__ic svg{width:30px; height:30px;}
.mtr-ss__card h3{
  margin:0 0 clamp(16px,1.4vw,22px); font-size:clamp(19px,1.6vw,24px); line-height:1.2;
  letter-spacing:-.02em; font-weight:600; color:var(--ss-navy);
}
.mtr-ss__list{margin:0 0 26px; padding:0; list-style:none;}
.mtr-ss__list li{
  position:relative; padding:0 0 0 24px; margin:0 0 9px;
  font-size:clamp(13.5px,1.02vw,15px); line-height:1.45; color:var(--ss-body);
}
.mtr-ss__list li::before{content:""; position:absolute; left:2px; top:.56em; width:6px; height:6px; border-radius:50%; background:var(--ss-teal);}
.mtr-ss__more{
  margin-top:auto; display:inline-flex; align-items:center; gap:18px; align-self:flex-start;
  font-size:15px; font-weight:600; color:var(--ss-teal); text-decoration:none;
}
.mtr-ss__more span{
  display:grid; place-items:center; width:38px; height:38px; border-radius:50%;
  border:1.5px solid var(--ss-teal); transition:transform .3s ease, background .3s ease, color .3s ease;
}
.mtr-ss__more svg{width:16px; height:16px;}
.mtr-ss__card:hover .mtr-ss__more span{transform:translateX(4px);}
.mtr-ss__more:hover span{background:var(--ss-teal); color:#fff;}

/* ── process strip ── */
.mtr-ss__strip{
  display:flex; align-items:center; gap:clamp(20px,2.4vw,40px);
  margin-top:clamp(48px,4.6vw,72px);
}
.mtr-ss__steps{display:flex; align-items:center; flex:1 1 auto; min-width:0; margin:0; padding:0; list-style:none;}
.mtr-ss__step{display:flex; align-items:flex-start; gap:14px; min-width:0;}
.mtr-ss__step b{font-size:clamp(26px,2.3vw,34px); line-height:1; font-weight:400; letter-spacing:-.02em; color:var(--ss-teal); font-variant-numeric:tabular-nums;}
.mtr-ss__step div{display:flex; flex-direction:column; gap:6px; padding-top:2px;}
.mtr-ss__step strong{font-size:13.5px; font-weight:700; letter-spacing:.04em; color:var(--ss-navy);}
.mtr-ss__step span{font-size:13.5px; line-height:1.4; color:var(--ss-body); max-width:10ch;}
.mtr-ss__chev{flex:1 1 auto; display:grid; place-items:center; min-width:20px; max-width:70px; color:#9fb0b6;}
.mtr-ss__chev svg{width:14px; height:22px;}
.mtr-ss__rule{flex:none; width:1px; height:56px; background:#cfdadd;}
.mtr-ss__cta{
  flex:none; display:inline-flex; align-items:center; gap:18px; white-space:nowrap;
  padding:12px 12px 12px 28px; border-radius:999px; background:#0f3441; color:#fff; text-decoration:none;
  font-size:15px; font-weight:500; transition:background .3s ease;
}
.mtr-ss__cta span{display:grid; place-items:center; width:32px; height:32px; border-radius:50%; border:1.5px solid rgba(255,255,255,.9); transition:transform .3s ease;}
.mtr-ss__cta svg{width:15px; height:15px;}
.mtr-ss__cta:hover{background:var(--ss-teal);}
.mtr-ss__cta:hover span{transform:translateX(3px);}
.mtr-ss__tag{
  flex:none; margin:0 0 0 clamp(8px,2vw,40px);
  font-size:11.5px; line-height:1.9; font-weight:500; letter-spacing:.34em; color:#9aa8ae;
}

/* ── tablet ── */
@media (max-width:1180px){
  .mtr-ss__cards{grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:clamp(40px,5vw,56px);}
  .mtr-ss__strip{flex-wrap:wrap;}
  .mtr-ss__steps{flex:1 1 100%;}
  .mtr-ss__rule{display:none;}
  .mtr-ss__tag{margin-left:auto;}
}
@media (max-width:1024px){
  .mtr-ss__intro{grid-template-columns:1fr;}
  .mtr-ss__motto{margin:8px 0 0;}
  .mtr-ss__atmo{width:100%; height:clamp(300px,60vw,440px);}
  .mtr-ss__atmo::after{
    background:linear-gradient(0deg, var(--ss-bg) 0%, rgba(247,250,250,.8) 40%, rgba(247,250,250,.35) 100%);
  }
}
/* ── phone ── */
@media (max-width:640px){
  .mtr-ss__cards{grid-template-columns:1fr; row-gap:22px;}
  .mtr-ss h2{font-size:clamp(34px,10vw,44px);}
  .mtr-ss__steps{display:grid; grid-template-columns:1fr 1fr; gap:24px 14px;}
  .mtr-ss__chev{display:none;}
  .mtr-ss__step span{max-width:none;}
  .mtr-ss__strip{flex-direction:column; align-items:stretch; gap:26px;}
  .mtr-ss__cta{justify-content:space-between;}
  .mtr-ss__tag{margin:0;}
}
@media (prefers-reduced-motion:reduce){
  .mtr-ss__card,.mtr-ss__media img,.mtr-ss__more span,.mtr-ss__cta span{transition:none;}
}

/* site standard: star eyebrow in sentence case, 600-weight heading (as the page banner) */
.mtr-page .mtr-ss__eyebrow{gap:8px; margin:0 0 18px; font-size:15px; font-weight:500; letter-spacing:-.01em; text-transform:none; color:#05080c;}
.mtr-page .mtr-ss h2{font-weight:600 !important; letter-spacing:-.04em;}
/* a little more width for the card row, as in the mockup */
.mtr-ss__in{max-width:1480px; padding-inline:clamp(20px,4.6vw,80px);}
.mtr-ss__in{padding-inline:clamp(20px,4vw,72px);}
.mtr-ss__cards{gap:clamp(14px,1.3vw,20px);}
.mtr-ss__panel{padding-left:clamp(20px,1.7vw,26px); padding-right:clamp(20px,1.7vw,26px);}
.mtr-ss__list li{font-size:clamp(13.5px,.98vw,14.8px);}
/* steps: top-aligned, two-line descriptions */
.mtr-ss__steps{align-items:flex-start;}
.mtr-ss__chev{align-self:center;}
.mtr-ss__step span{max-width:13ch;}
