/* hizmet-vitrin.css — musteri-islemleri.php (liste) ve hizmet-detay.php (detay) */
.hv { --hv-navy: #0b1b33; --hv-red: #dc2626; --hv-text: #0f1f38; --hv-muted: #64748b; --hv-line: #e4e8ef; --hv-soft: #f4f6fa; }

/* ---------- Bölüm başlığı ---------- */
.hv-sec { padding: 8px 0 40px; scroll-margin-top: 120px; }
.hv-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--hv-line); padding-bottom: 14px; }
.hv-sec__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; color: var(--hv-navy); margin: 4px 0 0; }
.hv-sec__k { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hv-red); }
.hv-sec__head p { margin: 0; max-width: 460px; color: var(--hv-muted); font-size: .92rem; }

/* ---------- Liste kartları ---------- */
.hv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.hv-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--hv-line); border-radius: 18px; padding: 22px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hv-card:hover { border-color: var(--hv-navy); box-shadow: 0 16px 36px rgba(11, 27, 51, .09); transform: translateY(-2px); }
.hv-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.hv-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--hv-soft); border: 1px solid var(--hv-line); color: var(--hv-navy); font-size: 1.35rem;
}
.hv-ico img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.hv-card--tasarim .hv-ico { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.hv-badge {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: #e0f2fe; color: #0369a1;
}
.hv-badge--tasarim { background: #fef3c7; color: #b45309; }
.hv-card h3 { font-size: 1.08rem; font-weight: 750; color: var(--hv-text); margin: 0 0 6px; line-height: 1.3; }
.hv-card h3 a { color: inherit; text-decoration: none; }
.hv-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* tüm kart tıklanır */
.hv-card p { color: var(--hv-muted); font-size: .9rem; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.hv-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--hv-line); }
.hv-unit { font-size: .78rem; font-weight: 700; color: var(--hv-muted); display: inline-flex; align-items: center; gap: 6px; }
.hv-talep {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px;
  background: var(--hv-red); color: #fff; font-weight: 750; font-size: .86rem; text-decoration: none;
  box-shadow: 0 6px 16px rgba(220, 38, 38, .22); transition: background-color .15s;
}
.hv-talep:hover { background: #b91c1c; color: #fff; }

/* Nasıl çalışır şeridi */
.hv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: hv; }
.hv-step { background: #fff; border: 1px solid var(--hv-line); border-radius: 16px; padding: 18px; position: relative; }
.hv-step::before {
  counter-increment: hv; content: counter(hv, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--hv-navy); color: #fff; font-weight: 800; font-size: .8rem; margin-bottom: 10px;
}
.hv-step b { display: block; color: var(--hv-text); font-size: .95rem; margin-bottom: 4px; }
.hv-step span { color: var(--hv-muted); font-size: .85rem; line-height: 1.5; }

/* Panel kısayolları */
.hv-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hv-quick a {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: #fff; border: 1px solid var(--hv-line); text-decoration: none; color: var(--hv-text);
  transition: border-color .15s, box-shadow .15s;
}
.hv-quick a:hover { border-color: var(--hv-navy); box-shadow: 0 10px 24px rgba(11, 27, 51, .07); color: var(--hv-text); }
.hv-quick i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--hv-soft); color: var(--hv-navy); font-size: 1.1rem; flex-shrink: 0; }
.hv-quick b { display: block; font-size: .92rem; }
.hv-quick small { color: var(--hv-muted); font-size: .78rem; }

.hv-empty { text-align: center; padding: 34px 20px; border: 1px dashed #cbd5e1; border-radius: 18px; color: var(--hv-muted); background: #fff; }

/* ---------- Detay sayfası ---------- */
.hv-detail { padding-top: 26px; padding-bottom: 30px; }
.hv-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.hv-detail h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--hv-navy); line-height: 1.12; margin: 10px 0 12px; letter-spacing: -.01em; }
.hv-lead { font-size: 1.05rem; color: #475569; line-height: 1.6; margin: 0 0 18px; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hv-line); font-size: .8rem; font-weight: 700; color: var(--hv-text); }
.hv-chip i { color: var(--hv-red); }

.hv-block { background: #fff; border: 1px solid var(--hv-line); border-radius: 18px; padding: 24px; margin-bottom: 18px; }
.hv-block h2 { font-size: 1.15rem; font-weight: 800; color: var(--hv-navy); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.hv-block h2 i { color: var(--hv-red); }
.hv-block p { color: #334155; line-height: 1.7; margin: 0 0 12px; }
.hv-block p:last-child { margin-bottom: 0; }
.hv-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.hv-checks li { display: flex; gap: 10px; align-items: flex-start; color: #1e293b; font-weight: 600; font-size: .93rem; line-height: 1.45; }
.hv-checks i { color: #16a34a; font-size: 1.05rem; margin-top: 1px; }
.hv-block .hv-steps { grid-template-columns: repeat(2, 1fr); }
.hv-block .hv-step { background: var(--hv-soft); border-color: transparent; }

.hv-faq .accordion-item { border: 1px solid var(--hv-line); border-radius: 12px !important; overflow: hidden; margin-bottom: 8px; }
.hv-faq .accordion-button { font-weight: 700; color: var(--hv-text); font-size: .95rem; box-shadow: none; }
.hv-faq .accordion-button:not(.collapsed) { background: var(--hv-soft); color: var(--hv-navy); }
.hv-faq .accordion-body { color: #475569; font-size: .92rem; line-height: 1.6; }

/* Fiyat kutusu */
.hv-buy {
  position: sticky; top: 130px;
  background: #fff; border: 1.5px solid var(--hv-navy); border-radius: 20px; padding: 24px;
  box-shadow: 0 22px 48px rgba(11, 27, 51, .12);
}
.hv-buy__k { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-muted); }
.hv-buy__price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.hv-buy__price b { font-size: 2.2rem; font-weight: 800; color: var(--hv-navy); letter-spacing: -.02em; font-family: Outfit, sans-serif; }
.hv-buy__price span { color: var(--hv-muted); font-weight: 700; font-size: .85rem; }
.hv-buy__kdv { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; margin: 14px 0 16px; }
.hv-buy__kdv small { color: #991b1b; font-weight: 700; font-size: .78rem; }
.hv-buy__kdv strong { color: var(--hv-red); font-size: 1.1rem; }
.hv-buy__btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border: 0; border-radius: 12px; background: var(--hv-red); color: #fff;
  font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 22px rgba(220, 38, 38, .28);
  transition: background-color .15s;
}
.hv-buy__btn:hover { background: #b91c1c; }
.hv-buy__wa {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px;
  height: 46px; border-radius: 12px; border: 1px solid #bbf7d0; background: #f0fdf4; color: #15803d;
  font-weight: 750; font-size: .92rem; text-decoration: none;
}
.hv-buy__wa:hover { background: #dcfce7; color: #166534; }
.hv-buy__list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--hv-line); padding-top: 14px; display: grid; gap: 8px; }
.hv-buy__list li { display: flex; gap: 9px; align-items: center; font-size: .84rem; color: #334155; font-weight: 600; }
.hv-buy__list i { color: var(--hv-navy); }

/* Sipariş penceresi */
.hv-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.hv-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--hv-line); }
.hv-modal__head h5 { margin: 0; font-weight: 800; color: var(--hv-navy); font-size: 1.05rem; }
.hv-sum { text-align: center; padding: 16px; border-radius: 14px; background: var(--hv-soft); margin-bottom: 18px; }
.hv-sum b { display: block; color: var(--hv-text); font-size: 1rem; margin-bottom: 6px; }
.hv-sum .hv-sum__net { color: var(--hv-muted); font-size: .85rem; }
.hv-sum .hv-sum__kdv { color: var(--hv-red); font-size: 1.6rem; font-weight: 800; display: block; margin-top: 4px; }
.hv-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.hv-pay input { position: absolute; opacity: 0; pointer-events: none; }
.hv-pay label {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 14px;
  border: 1.5px solid var(--hv-line); cursor: pointer; text-align: center; transition: border-color .15s, background-color .15s;
}
.hv-pay label i { font-size: 1.6rem; color: var(--hv-navy); }
.hv-pay label b { font-size: .9rem; color: var(--hv-text); }
.hv-pay label small { font-size: .72rem; color: var(--hv-muted); }
.hv-pay input:checked + label { border-color: var(--hv-red); background: #fff5f5; }
.hv-pay input:focus-visible + label { outline: 2px solid var(--hv-navy); outline-offset: 2px; }
.hv-info { border-radius: 12px; padding: 14px; font-size: .84rem; line-height: 1.55; margin-bottom: 14px; }
.hv-info--cc { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.hv-info--havale { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; text-align: center; }
.hv-iban { font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: 1rem; letter-spacing: .03em; color: var(--hv-navy); background: #fff; border: 1px dashed #86efac; border-radius: 10px; padding: 8px; margin: 8px 0; user-select: all; }
.hv-warn { display: none; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 8px 12px; font-size: .84rem; margin-bottom: 12px; }
.hv-err { display: none; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 8px 12px; font-size: .84rem; margin-bottom: 12px; }
.hv-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--hv-soft); border-radius: 12px; margin-bottom: 16px; }
.hv-tabs button { border: 0; background: none; padding: 9px; border-radius: 9px; font-weight: 750; color: var(--hv-muted); }
.hv-tabs button.is-on { background: #fff; color: var(--hv-navy); box-shadow: 0 2px 8px rgba(11, 27, 51, .08); }
.hv-modal .form-control { border-radius: 10px; padding: 11px 13px; border-color: #d5dbe3; }
.hv-modal .form-control:focus { border-color: var(--hv-navy); box-shadow: 0 0 0 3px rgba(11, 27, 51, .1); }
.hv-modal .form-label { font-weight: 700; font-size: .84rem; color: var(--hv-text); margin-bottom: 4px; }

/* Diğer hizmetler */
.hv-others { padding: 10px 0 50px; }

@media (max-width: 991.98px) {
  .hv-detail__grid { grid-template-columns: 1fr; }
  .hv-buy { position: static; }
  .hv-aside { order: -1; }
  .hv-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .hv-sec__head { flex-direction: column; align-items: flex-start; }
  .hv-checks, .hv-steps, .hv-block .hv-steps { grid-template-columns: 1fr; }
  .hv-block { padding: 18px; }
  .hv-buy { padding: 20px; }
  .hv-buy__price b { font-size: 1.9rem; }
}
