/* =========================================================================
   Xidmətlər siyahısı (/xidmet) və xidmət detal (/Xidmet/{slug}/{id}) səhifələri
   Yalnız bu iki səhifədə yüklənir. Tokenlər site-premium.css-dəki .sp dəyişənlərindən gəlir.
   ========================================================================= */

.sv-section { position: relative; padding: 28px 0; }
.sv-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--hp-gold-text); }
.sv-h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--hp-ink); }
.sv-h2--sm { font-size: clamp(19px, 2.2vw, 23px); margin-bottom: 14px; }
.sv-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--hp-gold-text); }
.sv-link:hover, .sv-link:focus { color: var(--hp-ink); }
.sp-inner .sv-hero p, .sp-inner .sv-section p { margin: 0; }

/* Düymələr */
.sv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; font-size: 14.5px; font-weight: 700; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.sv-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sv-btn--gold { background: var(--hp-gold-btn); color: #fff !important; box-shadow: 0 8px 18px rgba(132, 99, 39, .26); }
.sv-btn--gold:hover, .sv-btn--gold:focus { color: #fff !important; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(132, 99, 39, .34); }
.sv-btn--outline { background: #fff; border-color: var(--hp-gold); color: var(--hp-ink) !important; }
.sv-btn--outline:hover, .sv-btn--outline:focus { background: var(--hp-gold-soft); color: var(--hp-ink) !important; }
.sv-btn--light { background: #fff; color: var(--hp-ink) !important; }
.sv-btn--light svg { fill: #15803D; }
.sv-btn--light:hover, .sv-btn--light:focus { color: var(--hp-ink) !important; transform: translateY(-1px); }
.sv-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.sv-btn--block { width: 100%; }

/* ---------- HERO ---------- */
.sv-hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 26px 0 30px;
  background: linear-gradient(180deg, #FBF6EF 0%, #F7EFE4 100%); border-bottom: 1px solid var(--hp-line);
}
.sv-hero__bg { position: absolute; inset: 0; z-index: -1; }
.sv-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .55; }
.sv-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #FBF6EF 0%, rgba(251, 246, 239, .92) 45%, rgba(251, 246, 239, .2) 100%); }
.sv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--hp-muted); }
.sv-crumbs a { color: var(--hp-gold-text); }
.sv-crumbs a:hover { color: var(--hp-ink); }
.sv-title { margin: 8px 0 12px; font-size: clamp(34px, 6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; color: var(--hp-ink); }
.sv-title span { color: inherit; }
.sv-lead { max-width: 560px; font-size: 16px !important; line-height: 1.6 !important; color: var(--hp-text) !important; }
.sv-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.sv-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--hp-ink); }
.sv-trust svg { width: 20px; height: 20px; fill: var(--hp-gold-text); }
.sv-trust--chips li { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); }
@media (min-width: 992px) {
  .sv-hero { padding: 40px 0 56px; }
  .sv-hero__bg img { opacity: 1; }
  .sv-hero__bg::after { background: linear-gradient(90deg, #FBF6EF 0%, rgba(251, 246, 239, .95) 38%, rgba(251, 246, 239, 0) 70%); }
}

/* ---------- XİDMƏT KARTLARI ---------- */
.sv-cards-wrap { padding-top: 0; }
.sv-cards { display: grid; gap: 18px; margin: -6px 0 0 !important; padding: 0 !important; list-style: none; }
.sv-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sv-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(70, 48, 18, .12); }
.sv-card__media { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--hp-cream); }
.sv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sv-card:hover .sv-card__media img { transform: scale(1.04); }
.sv-card__icon {
  position: absolute; left: 20px; top: -30px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF6E2 0%, #EFD9A8 100%); border: 3px solid #fff; box-shadow: 0 8px 18px rgba(132, 99, 39, .25);
}
.sv-card__icon svg { width: 26px; height: 26px; fill: var(--hp-gold-text); }
.sv-card__body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 38px 20px 20px; flex: 1; }
.sv-card--plain .sv-card__body { padding-top: 22px; }
.sv-card__title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sv-card__title a { color: var(--hp-ink); }
.sv-card__title a:hover { color: var(--hp-gold-text); }
.sv-card__lead { font-size: 14.5px !important; line-height: 1.55 !important; color: var(--hp-text) !important; }
.sv-card__desc { font-size: 13px !important; line-height: 1.55 !important; color: var(--hp-muted) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-card__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin: 4px 0 6px !important; padding: 12px 0 0 !important; list-style: none; border-top: 1px solid var(--hp-line); }
.sv-card__list a { position: relative; display: flex; align-items: flex-start; min-height: 32px; padding: 4px 0 4px 24px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--hp-text); }
.sv-card__list a::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--hp-gold-soft); border: 1px solid #E6CC94;
}
.sv-card__list a::after {
  content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 3.5px; border-left: 1.6px solid var(--hp-gold-text); border-bottom: 1.6px solid var(--hp-gold-text); transform: rotate(-45deg);
}
.sv-card__list a:hover { color: var(--hp-gold-text); }
.sv-card .sv-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 400px) { .sv-card__list { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .sv-card__list a { min-height: 44px; align-items: center; } .sv-card__list a::before { top: 14px; } .sv-card__list a::after { top: 19px; } }
@media (min-width: 768px) {
  .sv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: -40px !important; }
}
@media (min-width: 768px) and (max-width: 1099.98px) { .sv-card__list { grid-template-columns: 1fr; } }

/* Statistika */
.sv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0 !important; padding: 16px !important; list-style: none;
  background: #fff; border: 1px solid var(--hp-line); border-radius: 20px; box-shadow: var(--hp-shadow-sm); }
.sv-stats li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 6px; }
.sv-stats__icon { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hp-ivory); border: 1px solid var(--hp-line); }
.sv-stats__icon svg { width: 22px; height: 22px; fill: var(--hp-gold-text); }
.sv-stats strong { font-size: 20px; font-weight: 800; color: var(--hp-ink); line-height: 1.1; font-variant-numeric: lining-nums; }
.sv-stats small { font-size: 12.5px; color: var(--hp-muted); }
@media (min-width: 992px) {
  .sv-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px 28px !important; }
  .sv-stats li + li { border-left: 1px solid var(--hp-line); padding-left: 24px; }
  .sv-stats strong { font-size: 24px; }
}

/* Tez-tez müraciət edilən problemlər */
.sv-frequent { display: grid; gap: 12px; margin-top: 18px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); }
.sv-frequent__title { margin: 0; font-size: 16px; font-weight: 800; color: var(--hp-ink); }
.sv-frequent__title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--hp-gold); vertical-align: middle; }
.sv-frequent__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; }
.sv-frequent__list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--hp-ivory); border: 1px solid var(--hp-line); font-size: 13.5px; font-weight: 600; color: var(--hp-ink);
}
.sv-frequent__list a:hover { background: var(--hp-gold-soft); border-color: var(--hp-gold); color: var(--hp-ink); }
.sv-frequent__list img { width: 30px; height: 30px; border-radius: 50%; }
@media (min-width: 992px) { .sv-frequent { grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 14px 24px; } }

/* ---------- PROSEDUR ŞƏBƏKƏSİ (detal səhifəsi) ---------- */
.sv-procs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.sv-proc {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px;
  background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 2px 8px rgba(70, 48, 18, .04); color: var(--hp-ink);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
a.sv-proc__title { color: inherit; }
a.sv-proc__title::after { content: ""; position: absolute; inset: 0; }
li.sv-proc:hover, a.sv-proc:hover { transform: translateY(-2px); box-shadow: var(--hp-shadow-sm); border-color: var(--hp-sand); color: var(--hp-ink); }
.sv-proc__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #FBF6EF, #F3E8D8); }
.sv-proc__media img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 6px 14px rgba(70, 48, 18, .12); }
.sv-proc__media svg { width: 34px; height: 34px; fill: var(--hp-gold-text); }
.sv-proc__title { display: block; padding: 10px 34px 12px 12px; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.sv-proc__arrow { position: absolute; right: 12px; bottom: 11px; font-weight: 800; color: var(--hp-gold-text); }
.sv-proc:target { border-color: var(--hp-gold); box-shadow: 0 0 0 3px rgba(184, 145, 76, .25); }
li.sv-proc { scroll-margin-top: 120px; }
/* Detal: kompakt üfüqi prosedur kartları (şəkil solda) */
.sv-procs--detail { grid-template-columns: 1fr !important; gap: 8px; }
.sv-procs--detail .sv-proc { flex-direction: row; align-items: center; min-height: 72px; padding: 8px; gap: 12px; }
.sv-procs--detail .sv-proc__media { flex: none; width: 64px; height: 64px; aspect-ratio: auto; border-radius: 14px; }
.sv-procs--detail .sv-proc__media img { width: 52px; height: 52px; }
.sv-procs--detail .sv-proc__media svg { width: 28px; height: 28px; }
.sv-procs--detail .sv-proc__title { padding: 0 8px 0 0; font-size: 14px; }
@media (min-width: 576px) { .sv-procs--detail { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1200px) { .sv-procs--detail { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 576px) { .sv-procs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .sv-procs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sv-procs--detail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- PROSES ---------- */
.sv-process__grid { display: grid; gap: 14px; }
.sv-steps { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.sv-step { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); }
.sv-step__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF6E2 0%, #F3DFB2 100%); border: 1px solid #EBD3A0; }
.sv-step__icon svg { width: 24px; height: 24px; fill: var(--hp-gold-text); }
.sv-step__body { display: flex; flex-direction: column; gap: 1px; }
.sv-step__num { font-size: 13px; font-weight: 800; color: var(--hp-gold-text); }
.sv-step strong { font-size: 15px; color: var(--hp-ink); }
.sv-step small { font-size: 12.5px; line-height: 1.45; color: var(--hp-muted); }
@media (min-width: 992px) {
  .sv-process__grid { grid-template-columns: 250px 1fr; align-items: center; gap: 28px; }
  .sv-process .sv-h2 { font-size: 26px; margin: 0; }
  .sv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .sv-step { padding: 0; background: none; border: 0; position: relative; }
  .sv-step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 16px; color: var(--hp-sand); font-weight: 800; }
}

/* ---------- NİYƏ BİZ ---------- */
.sv-why__card { display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, #FFFDF9, #FBF4EA); border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); }
.sv-why__card .sv-h2 { margin: 0; }
.sv-why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.sv-why__list li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--hp-line); font-size: 13.5px; font-weight: 700; color: var(--hp-ink); line-height: 1.3; }
.sv-why__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--hp-gold-soft); }
.sv-why__icon svg { width: 18px; height: 18px; fill: var(--hp-gold-text); }
@media (max-width: 575.98px) { .sv-why__list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 992px) {
  .sv-why__card { grid-template-columns: 180px 1fr; align-items: center; padding: 18px 26px; }
  .sv-why__card .sv-h2 { border-right: 1px solid var(--hp-line); }
  .sv-why__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sv-why__list li { background: transparent; border: 0; padding: 4px; }
}

/* ---------- CTA ---------- */
.sv-cta__card {
  position: relative; overflow: hidden; display: grid; gap: 16px; padding: 24px 22px; border-radius: 22px; color: #fff;
  background: radial-gradient(70% 140% at 85% 20%, rgba(214, 170, 92, .5) 0%, rgba(214, 170, 92, 0) 60%), linear-gradient(110deg, #3A2A1B 0%, #6E5128 60%, #A17A3A 100%);
  box-shadow: 0 18px 40px rgba(40, 26, 10, .22);
}
.sv-cta__text h2 { margin: 0 0 6px; color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.sv-cta__text p { color: #F1E2C4 !important; font-size: 14.5px !important; }
.sv-cta__actions { display: grid; gap: 10px; }
@media (min-width: 768px) {
  .sv-cta__card { grid-template-columns: 1fr auto; align-items: center; padding: 28px 36px; }
  .sv-cta__actions { grid-auto-flow: column; }
}

/* ---------- FAQ ---------- */
.sv-faq__grid { display: grid; gap: 16px; }
.sv-faq__list { display: grid; gap: 10px; }
.sv-faq__item { border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); overflow: hidden; }
.sv-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 12px 18px; cursor: pointer; list-style: none; }
.sv-faq__item summary::-webkit-details-marker { display: none; }
.sv-faq__item summary h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--hp-ink); }
.sv-faq__item[open] summary h3 { color: var(--hp-gold-text); }
.sv-faq__item p { padding: 0 18px 16px; font-size: 14.5px !important; color: var(--hp-muted) !important; line-height: 1.65 !important; }
.sv-faq__icon { position: relative; flex: none; width: 24px; height: 24px; }
.sv-faq__icon::before, .sv-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: var(--hp-ink); transform: translate(-50%, -50%); }
.sv-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.sv-faq__item[open] .sv-faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.sv-faq__item summary:focus-visible { outline: 3px solid var(--hp-gold-text); outline-offset: -3px; }
@media (min-width: 992px) {
  .sv-section { padding: 36px 0; }
  .sv-faq__grid { grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
  .sv-faq { padding-bottom: 72px; }
}

/* ---------- DETAL: HERO ---------- */
.sv-hero--detail { padding-bottom: 26px; }
.sv-dhero { display: grid; gap: 18px; }
.sv-title--detail { font-size: clamp(32px, 5vw, 54px); }
.sv-dhero__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--hp-shadow); }
.sv-dhero__media img { width: 100%; height: 100%; object-fit: cover; }
.sv-book { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow); display: grid; gap: 10px; align-content: start; }
.sv-book__head { display: flex; align-items: center; gap: 10px; }
.sv-book__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--hp-gold-soft); }
.sv-book__ico svg { width: 22px; height: 22px; fill: var(--hp-gold-text); }
.sv-book h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--hp-ink); }
.sv-book p { font-size: 14px !important; color: var(--hp-muted) !important; line-height: 1.55 !important; }
@media (min-width: 992px) {
  .sv-dhero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) 300px; align-items: center; gap: 24px; }
  .sv-dhero__media { aspect-ratio: auto; height: 100%; min-height: 300px; box-shadow: none; border-radius: 22px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%); mask-image: linear-gradient(to right, transparent 0%, #000 22%); }
}

/* ---------- DETAL: GÖVDƏ ---------- */
.sv-detail__grid { display: grid; gap: 18px; }
.sv-sidenav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sv-sidenav::-webkit-scrollbar { display: none; }
.sv-sidenav__item {
  display: flex; align-items: center; gap: 10px; flex: none; min-height: 52px; padding: 6px 16px 6px 8px; border-radius: 16px;
  background: #fff; border: 1px solid var(--hp-line); font-size: 14.5px; font-weight: 700; color: var(--hp-ink);
}
.sv-sidenav__item:hover { border-color: var(--hp-gold); color: var(--hp-ink); }
.sv-sidenav__item.is-active { background: var(--hp-gold-btn); border-color: transparent; color: #fff; box-shadow: 0 10px 22px rgba(132, 99, 39, .25); }
.sv-sidenav__item.is-active:hover { color: #fff; }
.sv-sidenav__ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hp-gold-soft); flex: none; }
.sv-sidenav__ico svg { width: 18px; height: 18px; fill: var(--hp-gold-text); }
.sv-sidenav__item.is-active .sv-sidenav__ico { background: rgba(255, 255, 255, .9); }
.sv-sidenav__chev { display: none; margin-left: auto; font-size: 20px; opacity: .6; }
.sv-detail__main { min-width: 0; display: grid; gap: 22px; }
.sv-content { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hp-line); }
.sv-content__body { font-size: 15.5px; line-height: 1.8; }
.sv-content__body p, .sv-content__body li, .sv-content__body div, .sv-content__body td { font-size: 15.5px !important; line-height: 1.8 !important; color: #3F3833; }
.sv-content__body img { max-width: 100%; height: auto; border-radius: 14px; }
.sv-content__body h2, .sv-content__body h3 { margin: 20px 0 10px; font-weight: 800; color: var(--hp-ink); }
@media (min-width: 992px) {
  .sv-detail__grid { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
  .sv-sidenav { flex-direction: column; overflow: visible; position: sticky; top: 110px; }
  .sv-sidenav__item { width: 100%; padding: 8px 16px 8px 8px; }
  .sv-sidenav__chev { display: inline; }
  .sv-content { padding: 28px 32px; }
}
