/* ===== SERVICES PAGE ===== */

/* ---------- Hero ---------- */
.sv-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding: calc(var(--header-h) + 4.5rem) 0 6rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.sv-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('images/servicespage-econ-construction-karachi-herobgimage.webp') center / cover no-repeat, var(--woody-dark);
  animation: sv-zoom 16s ease-out forwards;
  will-change: transform;
}

@keyframes sv-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

.sv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(30, 20, 12, 0.88) 0%, rgba(30, 20, 12, 0.62) 52%, rgba(30, 20, 12, 0.35) 100%);
}

.sv-hero-inner { max-width: 1240px; }

.sv-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sv-crumbs a:hover { color: #fff; text-decoration: underline; }
.sv-crumbs [aria-current] { color: #e6cdb0; }

.sv-hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #e6cdb0;
  margin-bottom: 1.2rem;
}

.sv-hero-title {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.sv-hero-title span { color: #e6cdb0; }

.sv-hero-desc {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.4rem;
}

.sv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sv-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.sv-btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Scroll hint */
.sv-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
}

.sv-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 4px;
  animation: sv-wheel 1.8s ease-in-out infinite;
}

@keyframes sv-wheel {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Shared headings ---------- */
.sv-head {
  max-width: 680px;
  margin: 0 auto 3.6rem;
  text-align: center;
}

.sv-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--woody-light);
  margin-bottom: 1rem;
}

.sv-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1rem;
}

.sv-title span { color: var(--woody); }

.sv-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- Services grid ---------- */
.sv-services {
  padding: 6.5rem 0 7rem;
  background: #F1F2ED;
  scroll-margin-top: var(--header-h);
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem 2rem;
}

.sv-card {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.sv-media {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.4rem;
  border-radius: 26px;
  overflow: hidden;
  background: var(--woody-light);
  box-shadow: 0 16px 36px rgba(62, 42, 34, 0.13);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}

.sv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sv-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 20, 12, 0.22) 0%, rgba(30, 20, 12, 0) 40%);
  pointer-events: none;
}

.sv-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: var(--woody);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, background 0.3s ease;
}

.sv-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.sv-card p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sv-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--woody);
  transition: gap 0.3s ease, color 0.3s ease;
}

.sv-more:hover {
  gap: 14px;
  color: var(--woody-dark);
}

.sv-card:hover .sv-media {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px rgba(62, 42, 34, 0.22);
}

.sv-card:hover .sv-media img { transform: scale(1.08); }
.sv-card:hover .sv-num { transform: scale(1.08) rotate(-4deg); background: var(--woody-dark); }
.sv-card:hover h3 { color: var(--woody); }

/* ---------- Why choose us ---------- */
.sv-why {
  padding: 7rem 0;
  background: #fff;
}

.sv-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.sv-why-media {
  position: relative;
}

.sv-why-media img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 65px rgba(62, 42, 34, 0.2);
}

.sv-why-badge {
  position: absolute;
  right: -22px;
  bottom: 34px;
  padding: 1.1rem 1.5rem;
  background: var(--woody);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(62, 42, 34, 0.32);
}

.sv-why-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
}

.sv-why-badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.sv-why-body .sv-desc { margin-bottom: 2rem; max-width: 520px; }

.sv-checks {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.sv-checks li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sv-check {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: #fff;
  background: var(--woody);
  border-radius: 50%;
}

.sv-checks h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sv-checks p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- Process ---------- */
.sv-process {
  padding: 6.5rem 0 7rem;
  background: #F1F2ED;
}

.sv-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: none;
}

/* Connecting line behind the numbers */
.sv-steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(92, 64, 51, 0.35) 0 8px, transparent 8px 16px);
}

.sv-step {
  position: relative;
  text-align: center;
  padding: 0 0.6rem;
}

.sv-step-num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--woody);
  border: 5px solid #F1F2ED;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(62, 42, 34, 0.25);
  transition: transform 0.4s ease, background 0.3s ease;
}

.sv-step:hover .sv-step-num {
  transform: translateY(-5px) scale(1.06);
  background: var(--woody-dark);
}

.sv-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sv-step p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- Reveal on scroll ---------- */
.sv-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sv-reveal.sv-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }

  .sv-why-grid {
    grid-template-columns: 1fr;
    gap: 3.4rem;
  }

  .sv-why-media { max-width: 560px; margin-inline: auto; }
  .sv-why-badge { right: 14px; }

  .sv-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.8rem 1.6rem;
  }

  .sv-steps::before { display: none; }
}

@media (max-width: 768px) {
  .sv-hero {
    min-height: 74vh;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
  }

  .sv-services,
  .sv-process { padding: 4.8rem 0 5rem; }
  .sv-why { padding: 5rem 0; }
  .sv-head { margin-bottom: 2.8rem; }
}

@media (max-width: 600px) {
  .sv-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .sv-media { aspect-ratio: 4 / 3.4; }

  .sv-hero-actions { flex-direction: column; }
  .sv-hero-actions .btn,
  .sv-btn-glass { width: 100%; }

  .sv-steps { grid-template-columns: 1fr; }
  .sv-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-hero-bg { animation: none; }
  .sv-scroll span { animation: none; opacity: 1; }
  .sv-reveal { opacity: 1; transform: none; transition: none; }
}