/* ============================================================
   service.css — Individual service detail page
   ============================================================ */

/* ── LOADING STATE ─────────────────────────────────────────── */
.sv-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 60vh;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── HERO ──────────────────────────────────────────────────── */
.sv-hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 72px;
}

.sv-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sv-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.sv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 11, 7, 0.96) 40%, rgba(13, 11, 7, 0.72) 100%);
  z-index: 1;
}

/* Gold diagonal accent line */
.sv-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(201, 168, 76, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

.sv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.sv-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.22s;
}

.sv-hero-back:hover {
  color: var(--gold);
}

.sv-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.sv-hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}

.sv-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
}

.sv-hero-title strong {
  font-weight: 700;
}

.sv-hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.76;
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 300;
}

.sv-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.sv-hero-stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.sv-hero-stat-lbl {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.44);
  margin-top: 4px;
  letter-spacing: 0.4px;
}

/* ── SUB-SERVICES ──────────────────────────────────────────── */
.sv-subs-section {
  padding: 80px 5%;
}

.sv-subs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 52px;
}

.sv-sub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sv-sub-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.sv-sub-icon {
  width: 50px;
  height: 50px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background 0.28s;
}

.sv-sub-card:hover .sv-sub-icon {
  background: rgba(201, 168, 76, 0.2);
}

.sv-sub-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.sv-sub-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.68;
  flex: 1;
}

.sv-sub-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  background: rgba(201, 168, 76, 0.09);
  color: var(--gold-dk);
  border-radius: 20px;
  padding: 4px 12px;
  align-self: flex-start;
}

/* ── PROCESS ───────────────────────────────────────────────── */
.sv-process-section {
  background: var(--off-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 80px 5%;
}

.sv-process-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sv-steps-list {
  margin-top: 52px;
  position: relative;
}

.sv-steps-list::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 168, 76, 0.08) 100%);
}

.sv-step {
  display: flex;
  gap: 24px;
  padding: 0 0 36px;
}

.sv-step:last-child {
  padding-bottom: 0;
}

.sv-step-num {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: all 0.28s;
}

.sv-step:hover .sv-step-num {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: scale(1.06);
}

.sv-step-body {
  padding-top: 10px;
}

.sv-step-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}

.sv-step-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.sv-faq-section {
  padding: 80px 5%;
}

.sv-faq-inner {
  max-width: 820px;
  margin: 0 auto;
}

.sv-faq-list {
  margin-top: 48px;
}

.sv-faq-item {
  border-bottom: 1px solid var(--border);
}

.sv-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  gap: 20px;
  transition: color 0.22s;
  user-select: none;
}

.sv-faq-question:hover {
  color: var(--gold-dk);
}

.sv-faq-toggle {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  font-weight: 300;
}

.sv-faq-item.open .sv-faq-toggle {
  transform: rotate(45deg);
}

.sv-faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.76;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s ease, padding 0.36s ease;
}

.sv-faq-item.open .sv-faq-answer {
  max-height: 300px;
  padding-bottom: 18px;
}

/* ── PORTFOLIO PREVIEW ─────────────────────────────────────── */
.sv-portfolio-section {
  background: var(--off-white);
  padding: 80px 5%;
}

.sv-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.sv-portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--dark);
  cursor: pointer;
}

.sv-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.4s ease, opacity 0.3s;
}

.sv-portfolio-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.sv-portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 11, 7, 0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.sv-portfolio-item:hover .sv-portfolio-item-overlay {
  opacity: 1;
}

.sv-portfolio-item-overlay h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.sv-portfolio-item-overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sv-subs-grid { grid-template-columns: 1fr 1fr; }
  .sv-portfolio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .sv-hero { padding: 80px 5% 56px; }
  .sv-hero-stats { gap: 24px; }
  .sv-subs-grid { grid-template-columns: 1fr; }
  .sv-portfolio-grid { grid-template-columns: 1fr; }
  .sv-subs-section, .sv-process-section, .sv-faq-section, .sv-portfolio-section {
    padding: 60px 5%;
  }
}

@media (max-width: 480px) {
  .sv-hero { padding: 72px 16px 48px; }
  .sv-subs-section, .sv-process-section, .sv-faq-section, .sv-portfolio-section {
    padding: 52px 16px;
  }
}
