/* ═══════════════════════════════════════════════════
   SERVICES PAGE — chkstepan reference exact match
   Layout per panel:
   · Top-left: service number · description
   · Top-right: meme image with hairline above + italic caption
   · Bottom-left: MASSIVE bold service name
   · Bottom-right: "Learn more ↗"
   ═══════════════════════════════════════════════════ */

/* Hero */
.svc-hero {
  padding: calc(var(--navh) + 460px) var(--pad) 80px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.45s;
}
.svch-inner { max-width: 680px; }
.svch-title {
  font-family: var(--fh);
  font-size: clamp(60px, 9vw, 130px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--fg);
  opacity: 0;
  transform: translateY(40px);
  animation: sUp 0.85s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
  transition: color 0.45s;
}
.svch-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg2);
  max-width: 560px;
  opacity: 0;
  animation: sUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
  transition: color 0.45s;
}

/* PANELS CONTAINER */
.svc-panels { display: flex; flex-direction: column; }

/* ── SINGLE SERVICE PANEL — chkstepan exact layout ── */
.svc-panel {
  background: var(--panel-bg, #b69178);
  color: var(--panel-fg, #ffffff);
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: grid;
  /* 2-column: left content | right image */
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Small dot indicator top-left */
.sp-dot-indicator {
  position: absolute;
  top: 32px;
  left: var(--pad);
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
}
.sp-dot-indicator::after {
  content: '';
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
}

/* ── LEFT COLUMN: num + desc (top) + service name (bottom) ── */
.sp-left {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px var(--pad) 48px;
}

.sp-top-left {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 480px;
}

.sp-num {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.5;
  padding-top: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sp-desc {
  font-family: var(--fb);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.82;
}

/* HUGE service name at bottom-left */
.sp-name {
  font-family: var(--fh);
  font-weight: 400;
font-style: normal;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: auto;
  padding-top: 40px;
}

/* Bottom-left: Learn more link */
.sp-bottom-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.sp-learn {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s;
  text-decoration: none;
  color: inherit;
}
.sp-learn:hover { opacity: 1; }

.sp-learn-arrow {
  font-size: 18px;
  opacity: 0.6;
  transition: transform 0.25s var(--ease-o);
}
.sp-bottom-left:hover .sp-learn-arrow { transform: translate(4px,-4px); opacity: 1; }

/* ── RIGHT COLUMN: image with line + caption ── */
.sp-right {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--pad) 48px;
  position: relative;
}

.sp-img-wrap {
  position: relative;
  width: 62%;
}

/* Hairline ABOVE image with italic caption aligned top-right */
.sp-img-header {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 10px;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 10px;
  margin-bottom: 0;
}

.sp-caption {
  font-family: var(--fb);
  font-size: 11px;
  font-style: italic;
  opacity: 0.45;
  letter-spacing: 0.04em;
  text-align: right;
}

.sp-img {
  width: 100%;
  display: block;
  border-radius: 4px;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 0.6s var(--ease-o), filter 0.4s;
  height: auto;
  max-height: none;
  object-fit: contain;
  /* Full original image dimensions preserved */
}
.svc-panel:hover .sp-img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.05);
}

/* Line BELOW image */
.sp-img-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-top: 12px;
}

/* Panel separator */
.svc-panel + .svc-panel {
  border-top: 1px solid rgba(0,0,0,0.12);
}

/* END CTA */
.svc-end {
  padding: 120px var(--pad);
  background: var(--bg);
  text-align: center;
  transition: background 0.45s;
}
.se-inner { max-width: 640px; margin: 0 auto; }
.se-inner .sec-title { margin-bottom: 20px; }
.se-inner p {
  font-size: 16px; line-height: 1.75;
  color: var(--fg2); margin-bottom: 36px;
  transition: color 0.45s;
}

@keyframes sUp { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:translateY(0)} }

@media (max-width: 900px) {
  .svc-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }
  .sp-left { grid-column: 1; grid-row: 1; padding: 80px var(--pad) 32px; }
  .sp-right { grid-column: 1; grid-row: 2; padding: 0 var(--pad) 48px; }
  .sp-name { font-size: clamp(52px, 14vw, 96px); }
}
