/*
 * izmail ana sayfa (v3) — yalnız ana sayfaya özgü düzen. Ortak tokenlar ve bileşenler
 * izmail-ds.css'te; burada yeni renk/ölçü tanımlanmaz, tokenlar kullanılır. Önek: hv-
 */

/* ikon (satır içi SVG sprite, tek stroke stili) */
.hv .hv-ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
:where(.hv) :is(ul, ol, dl, dd) { margin: 0; padding: 0; list-style: none; }

/* ---------- Hero ---------- */
.hv-hero { position: relative; isolation: isolate; }
/* ince nokta deseni + sağda yumuşak ışık; yalnız masaüstünde */
.hv-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 60% at 76% 46%, var(--iz-accent-wash), transparent 70%),
    radial-gradient(circle at 1px 1px, var(--iz-border) 1px, transparent 0) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hv-mark { position: relative; white-space: nowrap; }
.hv-brush {
  position: absolute; left: -6%; bottom: -0.2em;
  width: 112%; height: 0.32em;
  fill: var(--iz-cta); z-index: -1;
}
.hv-hero .iz-lead { margin-top: 4px; }
.hv-price { margin: 20px 0 0; color: var(--iz-text-2); font-size: var(--iz-body); }
.hv-price strong { color: var(--iz-cta-ink); font-weight: 700; font-size: var(--iz-h4); }
.hv-ticks { margin-top: 24px; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
/* ≥1200: referanstaki gibi tek satır; görsel dikeyde ortalı olduğundan alttaki boşluğa uzanabilir */
@media (min-width: 1200px) {
  .hv-ticks { display: flex; flex-wrap: nowrap; width: max-content; gap: 24px; }
}
.hv-hero-media img {
  aspect-ratio: 928 / 477;
  object-fit: contain;
  filter: drop-shadow(var(--iz-shadow-lg));
}
@media (max-width: 991.98px) {
  .hv-hero::before { background: radial-gradient(circle at 1px 1px, var(--iz-border) 1px, transparent 0) 0 0 / 24px 24px; }
  .hv-hero-media { max-width: 720px; margin-inline: auto; width: 100%; }
}
@media (max-width: 767.98px) {
  .hv-hero::before { display: none; }
  .hv-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
}

/* ---------- Güven şeridi ---------- */
.hv-trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--iz-bg-tint);
  border: 1px solid var(--iz-border);
  border-radius: var(--iz-radius-feature);
  padding: var(--iz-card-pad) 0;
}
.hv-trust li {
  display: flex; align-items: center; gap: 16px;
  padding: 4px var(--iz-card-pad);
  min-width: 0;
}
.hv-trust li + li { border-left: 1px solid var(--iz-border-strong); }
.hv-trust .hv-ic { width: 36px; height: 36px; color: var(--iz-accent); stroke-width: 1.5; }
.hv-trust b { display: block; font: 700 var(--iz-body)/1.35 var(--iz-font-head); color: var(--iz-heading); }
.hv-trust span span { display: block; font-size: var(--iz-small); color: var(--iz-text-2); line-height: 1.45; }
@media (max-width: 1199.98px) {
  .hv-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--iz-card-pad); }
  .hv-trust li:nth-child(3) { border-left: 0; }
}
@media (max-width: 479.98px) {
  .hv-trust { grid-template-columns: minmax(0, 1fr); }
  .hv-trust li + li { border-left: 0; border-top: 1px solid var(--iz-border-strong); padding-top: var(--iz-card-pad); }
}

/* ---------- Hizmet kartları ---------- */
.hv-services { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hv-svc { gap: 12px; padding-bottom: calc(var(--iz-card-pad) + var(--iz-btn-h) - 12px); }
.hv-svc .iz-h4 { margin-top: 8px; }
.hv-svc .iz-small { color: var(--iz-text-2); margin: 0; line-height: 1.55; }
.hv-svc-go {
  position: absolute; right: var(--iz-card-pad); bottom: var(--iz-card-pad);
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--iz-border-strong); color: var(--iz-heading);
  transition: background-color var(--iz-dur) var(--iz-ease), color var(--iz-dur) var(--iz-ease), border-color var(--iz-dur) var(--iz-ease);
}
.hv-svc-go .hv-ic { width: 18px; height: 18px; }
.hv-svc:hover .hv-svc-go { background: var(--iz-heading); border-color: var(--iz-heading); color: var(--iz-surface); }
.hv-svc.is-feature { background: linear-gradient(160deg, var(--iz-cta-wash), var(--iz-surface) 70%); border-color: var(--iz-cta-wash); }
.hv-svc.is-feature .iz-card__icon { background: var(--iz-cta-wash); color: var(--iz-cta); }
.hv-svc.is-feature .hv-svc-go { background: var(--iz-cta); border-color: var(--iz-cta); color: var(--iz-cta-text); }
.hv-svc.is-feature:hover .hv-svc-go { background: var(--iz-cta-hover); border-color: var(--iz-cta-hover); }
@media (max-width: 1199.98px) {
  .hv-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-services > li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .hv-services { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Ortak iki sütun (başlık solda) ---------- */
.hv-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--iz-hero-gap); align-items: start; }
.hv-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hv-split > .iz-section__head { margin-bottom: 0; }
.hv-h2-gap { margin-bottom: var(--iz-title-gap); }
@media (max-width: 991.98px) {
  .hv-split, .hv-split--even { grid-template-columns: minmax(0, 1fr); gap: var(--iz-intro-gap); }
}

/* ---------- Neden izmail ---------- */
.hv-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--iz-intro-gap) var(--iz-hero-gap); }
.hv-why li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
.hv-why .iz-card__icon { grid-row: span 2; }
.hv-why .iz-h4 { align-self: center; }
.hv-why .iz-text { grid-column: 2; font-size: var(--iz-small); line-height: 1.6; }
@media (max-width: 575.98px) {
  .hv-why { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Adımlar ---------- */
.hv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--iz-grid-gap); counter-reset: none; }
.hv-steps li { position: relative; padding-top: 4px; }
.hv-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: calc(-1 * var(--iz-grid-gap) + 12px);
  border-top: 1px dashed var(--iz-border-strong);
}
.hv-step-n {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--iz-surface); border: 1px solid var(--iz-border-strong);
  color: var(--iz-accent-text); font-size: var(--iz-body);
  margin-bottom: 20px;
}
.hv-steps .iz-h4 { margin-bottom: 8px; }
@media (max-width: 767.98px) {
  .hv-steps { grid-template-columns: minmax(0, 1fr); gap: var(--iz-intro-gap); }
  .hv-steps li:not(:last-child)::after { display: none; }
}

/* ---------- Cihazlar ---------- */
.hv-clients { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hv-clients li {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--iz-border); border-radius: 999px;
  background: var(--iz-bg); color: var(--iz-heading);
  font-size: var(--iz-small); font-weight: 500;
}
.hv-clients .hv-ic { color: var(--iz-accent); width: 18px; height: 18px; }
.hv-proto .iz-h4 { margin-bottom: 12px; }
.hv-proto dl > div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--iz-border);
  align-items: baseline;
}
.hv-proto dt { color: var(--iz-accent-text); font-size: var(--iz-small); }
.hv-proto dd { color: var(--iz-text-2); font-size: var(--iz-small); line-height: 1.55; }
@media (max-width: 479.98px) {
  .hv-proto dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Güvenlik ---------- */
.hv-sec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-inline: 0; }
.hv-sec li { display: flex; flex-direction: column; gap: 14px; padding: 0 var(--iz-card-pad-lg); }
.hv-sec li + li { border-left: 1px solid var(--iz-border); }
.hv-sec .hv-ic { width: 28px; height: 28px; color: var(--iz-accent); }
.hv-sec b { display: block; font: 600 var(--iz-body)/1.4 var(--iz-font-head); color: var(--iz-heading); margin-bottom: 6px; }
.hv-sec span span { display: block; color: var(--iz-text-2); font-size: var(--iz-small); line-height: 1.6; }
@media (max-width: 1199.98px) {
  .hv-sec { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--iz-card-pad-lg); }
  .hv-sec li:nth-child(3) { border-left: 0; }
}
@media (max-width: 575.98px) {
  .hv-sec { grid-template-columns: minmax(0, 1fr); }
  .hv-sec li + li { border-left: 0; border-top: 1px solid var(--iz-border); padding-top: var(--iz-card-pad-lg); }
}

/* ---------- Fiyat bandı ---------- */
.hv-pricing { display: flex; align-items: center; justify-content: space-between; gap: var(--iz-hero-gap); }
.hv-pricing .hv-price { margin-top: 12px; }
@media (max-width: 767.98px) {
  .hv-pricing { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---------- SSS ---------- */
.hv-faq { border-top: 1px solid var(--iz-border); }
.hv-faq details { border-bottom: 1px solid var(--iz-border); }
.hv-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 20px 0;
  cursor: pointer; list-style: none;
  font: 600 var(--iz-body)/1.45 var(--iz-font-head); color: var(--iz-heading);
}
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary:hover { color: var(--iz-accent-text); }
.hv-faq summary .hv-ic { color: var(--iz-accent); transition: transform var(--iz-dur) var(--iz-ease); }
.hv-faq details[open] summary .hv-ic { transform: rotate(180deg); }
.hv-faq details .iz-text { padding: 0 40px 22px 0; }

/* ---------- Son CTA ---------- */
.hv-final {
  /* koyu panel: tokenları yerelde ters çevir */
  --iz-heading: var(--iz-white);
  --iz-text-2: #C9D6E1;
  --iz-surface: transparent;
  --iz-border-strong: rgba(255, 255, 255, 0.45);
  --iz-focus: #8FD0EC;
  position: relative; overflow: hidden;
  background: var(--iz-navy);
  border: 1px solid var(--iz-border);
  border-radius: var(--iz-radius-media);
  padding: var(--iz-section-y) var(--iz-card-pad-lg);
  text-align: center;
}
.hv-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0) 0 0 / 24px 24px;
}
.hv-final > * { position: relative; }
.hv-final .iz-h2, .hv-final .iz-lead { margin-inline: auto; }
.hv-final .iz-h2 { margin-bottom: var(--iz-title-gap); }
.hv-final .iz-hero__actions { justify-content: center; }
.hv-btn-inverse:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--iz-white); color: var(--iz-white); }
