/* ============================================================
   CAR TEKLİF — ANASAYFA: Nasıl Çalışır? (4 adımlı süreç)
   ============================================================ */

:root {
    --hw-blue: #0EA5F0;
    --hw-blue-600: #0B8FD8;
    --hw-navy: #0B2440;
    --hw-light: #EAF6FE;
    --hw-ink: #0B2440;
    --hw-muted: #5b6b7d;
    --hw-line: #e6ecf3;
    --hw-grad: linear-gradient(120deg, #0EA5F0 0%, #0B2440 100%);
}

.hiw {
    background: #f6f9fc;
    padding: 84px 0;
}

.hiw__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}
.hiw__tag {
    display: inline-block;
    background: var(--hw-light);
    color: var(--hw-blue-600);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.hiw__title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--hw-ink);
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.hiw__sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--hw-muted);
    margin: 0;
}

/* ---- Adımlar ---- */
.hiw__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}
/* bağlantı çizgisi (dairelerin arkasında) */
.hiw-line {
    position: absolute;
    top: 38px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #c8d6e5 0 7px, transparent 7px 15px);
    z-index: 0;
}

.hiw-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 6px;
}
.hiw-step__circle {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--hw-line);
    box-shadow: 0 10px 26px rgba(11, 36, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--hw-blue-600);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s, color .3s;
}
.hiw-step:hover .hiw-step__circle {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(14, 165, 240, 0.22);
    color: var(--hw-blue);
}
.hiw-step__num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--hw-grad);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #f6f9fc;
}
.hiw-step__title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--hw-ink);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.hiw-step__text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--hw-muted);
    margin: 0 auto;
    max-width: 260px;
}

/* ---- CTA ---- */
.hiw__cta {
    text-align: center;
    margin-top: 54px;
}
.hiw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hw-blue-600);
    color: #fff;
    font-weight: 700;
    font-size: 15.5px;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(14, 165, 240, 0.30);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.hiw-btn i { transition: transform .2s; }
.hiw-btn:hover {
    background: var(--hw-navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 36, 64, 0.26);
}
.hiw-btn:hover i { transform: translateX(4px); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hiw__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .hiw-line { display: none; }
}
@media (max-width: 767px) {
    .hiw { padding: 60px 0; }
    .hiw__head { margin-bottom: 44px; }
}
@media (max-width: 479px) {
    .hiw__steps { grid-template-columns: 1fr; gap: 34px; }
}

/* ============================================================
   Mobil yatay taşma (overflow) önlemi — anasayfa bölümleri
   (sticky header'ı bozmamak için body'ye değil bölümlere uygulanır;
    sticky alt başlık olan .hfaq'te clip kullanılır)
   ============================================================ */
.hsc,
.wct-why,
.hf-cars-section,
.hiw,
.hf-reviews-section { overflow-x: hidden; }
.hfaq { overflow-x: clip; }
