/* ===== Service detail page styles ===== */

/* ----- Service hero ----- */
.svc-hero {
  position: relative;
  min-height: 88vh;
  padding: 160px var(--pad-x) 80px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #050505;
}
.svc-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.svc-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) brightness(0.55) contrast(1.05);
  animation: svcHeroIn 1.4s var(--ease) both;
}
@keyframes svcHeroIn {
  from { transform: scale(1.08); opacity: 0.4; }
  to   { transform: scale(1);    opacity: 1; }
}
.svc-hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(230,48,39,0.16), transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 30%, transparent 50%, rgba(0,0,0,0.95) 100%);
}
.svc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  gap: 10px;
  align-items: center;
}
.crumbs a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s var(--ease);
}
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: #fff; }
.crumbs-sep { color: rgba(255,255,255,0.25); }

.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.svc-num::before { content: '/ '; }

.svc-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.svc-lead {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 8px 0 0;
}
.svc-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.svc-meta-strip {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.svc-meta-strip-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.svc-meta-strip-item .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ----- Intro 2-col ----- */
.svc-intro {
  padding: var(--pad-section) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.svc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.svc-intro-text h2 { margin-bottom: 24px; }
.svc-intro-text p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.svc-intro-text p:last-child { margin-bottom: 0; }
.svc-intro-text strong { color: #fff; font-weight: 500; }
.svc-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-1);
  overflow: hidden;
}
.svc-aside-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}
.svc-aside-row:last-child { border-bottom: none; }
.svc-aside-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.svc-aside-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.015em;
  text-align: right;
}
.svc-aside-value .accent { color: var(--accent); }

@media (max-width: 1024px) {
  .svc-hero { min-height: auto; padding-top: 140px; padding-bottom: 60px; }
  .svc-intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ----- Specs ----- */
.svc-specs {
  padding: var(--pad-section) 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}
.spec {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s var(--ease);
  min-height: 160px;
}
.spec:hover { background: #0e0e12; }
.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.spec-value .accent { color: var(--accent); }
.spec-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: auto;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .specs-grid { grid-template-columns: 1fr; }
}

/* ----- Gallery ----- */
.svc-gallery {
  padding: var(--pad-section) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #15151a;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
}
.gallery-item:hover { transform: translateY(-2px); }
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
  filter: saturate(0.95) brightness(0.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.gallery-item--lg { grid-column: span 4; grid-row: span 2; }
.gallery-item--md { grid-column: span 2; grid-row: span 2; }
.gallery-item--sm { grid-column: span 2; }
/* placeholder (no real photo yet) */
.gallery-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 16px),
    radial-gradient(ellipse at 70% 30%, rgba(230,48,39,0.16), transparent 60%),
    linear-gradient(180deg, #15151a 0%, #050505 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
}
.gallery-placeholder-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; }
  .gallery-item--lg { grid-column: span 4; grid-row: span 2; }
  .gallery-item--md { grid-column: span 2; grid-row: span 1; }
  .gallery-item--sm { grid-column: span 2; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item--lg { grid-column: span 2; grid-row: span 2; }
  .gallery-item--md, .gallery-item--sm { grid-column: span 1; grid-row: span 1; }
}

/* ----- Benefits list ----- */
.svc-benefits {
  padding: var(--pad-section) 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.benefit {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.benefit-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 6px;
  min-width: 36px;
}
.benefit-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.benefit-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ----- Related formats ----- */
.svc-related {
  padding: var(--pad-section) 0;
  background: var(--bg);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  text-decoration: none;
  color: #fff;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230,48,39,0.4);
}
.related-card-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: #050505;
}
.related-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.8);
  transition: transform 0.5s var(--ease);
}
.related-card:hover .related-card-img img { transform: scale(1.05); }
.related-card-body {
  padding: 20px 22px 24px;
}
.related-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.related-card-num::before { content: '/ '; color: var(--accent); }
.related-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}
