/* ==========================================================================
   BAŞAK CARS — İletişim (ilx-)
   Koyu fotoğraflı hero + havada form kartı · süreç şeridi · ofis · SSS
   ========================================================================== */

/* ------------------------------------------------------------------ HERO */

.ilx-hero {
    position: relative;
    overflow-x: clip;       /* hidden değil: yıl/marka listesi alta taşabilmeli */
    z-index: 3;
    padding: 40px 0 96px;
    background: var(--bc-navy-2);
    isolation: isolate;
}

.ilx-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 21, 47, .95) 0%, rgba(4, 21, 47, .74) 48%, rgba(4, 21, 47, .38) 100%),
        linear-gradient(0deg, var(--bc-navy-2) 0%, transparent 35%),
        url('../../../images/genel/bc/iletisim-hero.webp') center 40% / cover no-repeat;
}

/* Mavi hâle — sağ üstten */
.ilx-hero__bg::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 90%;
    background: radial-gradient(closest-side, rgba(0, 139, 255, .28), transparent);
}

.bc .ilx-crumb,
.bc .ilx-crumb a { color: #9FB0C8; }
.bc .ilx-crumb a:hover { color: #fff; }
.bc .ilx-crumb [aria-current] { color: #fff; }

.ilx-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 64px;
    align-items: center;
    padding-top: 24px;
}

.ilx-intro { padding: 0; }

.ilx-durum {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #DCE4EF;
    font-size: 14px;
    font-weight: 500;
}

.ilx-durum i {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #F79009;
}

.ilx-durum.is-acik i {
    background: #32D583;
    box-shadow: 0 0 0 0 rgba(50, 213, 131, .6);
    animation: ilxNabiz 2s infinite;
}

@keyframes ilxNabiz {
    0%   { box-shadow: 0 0 0 0 rgba(50, 213, 131, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(50, 213, 131, 0); }
    100% { box-shadow: 0 0 0 0 rgba(50, 213, 131, 0); }
}

.bc .ilx-title {
    color: #fff;
    margin: 28px 0 22px;
}

.bc .ilx-title em { color: var(--bc-blue-lt); }

.bc .ilx-lead { color: #B8C4D6; max-width: 46ch; }

/* iletişim kanalları — cam kartlar */
.ilx-kanal {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 44px;
}

.bc .ilx-kanal__i {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    border-radius: var(--bc-r);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    min-width: 0;
    transition: background .25s var(--bc-ease), border-color .25s, transform .25s var(--bc-ease);
}

.bc .ilx-kanal__i:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(92, 180, 255, .45);
    color: #fff;
    transform: translateY(-3px);
}

.ilx-kanal__ico {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--bc-blue-btn);
    color: #fff;
    font-size: 15px;
}

.ilx-kanal__ico--wa { background: #1DA851; font-size: 19px; }

.ilx-kanal__k {
    font-size: 13px;
    color: #9FB0C8;
}

.ilx-kanal__v {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ form */

.ilx-form {
    position: relative;
    padding: 36px;
    border-radius: var(--bc-r-lg);
    background: #fff;
    box-shadow: var(--bc-sh-lg);
    scroll-margin-top: 100px;
}

.bc .ilx-form__head h2 {
    margin: 0 0 6px;
    font-size: 26px;
    letter-spacing: -.03em;
}

.bc .ilx-form__head p {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--bc-muted);
}

.ilx-form__body {
    display: grid;
    gap: 18px;
}

.ilx-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bc .bc-field label small {
    font-weight: 400;
    color: var(--bc-muted);
}

/* konu çipleri — açılır liste yerine */
.ilx-konu {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.bc .ilx-konu legend {
    float: none;
    width: auto;
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--bc-ink);
}

.bc .ilx-konu legend span { color: var(--bc-blue-ink); }

.ilx-konu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ilx-chip {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.ilx-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ilx-chip span {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid var(--bc-line-2);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--bc-body);
    transition: all .2s var(--bc-ease);
    user-select: none;
}

.ilx-chip:hover span { border-color: #B9C5D6; color: var(--bc-ink); }

.ilx-chip input:checked + span {
    border-color: var(--bc-blue-btn);
    background: var(--bc-blue-wash);
    color: var(--bc-blue-ink);
    font-weight: 600;
}

.ilx-chip input:focus-visible + span {
    outline: 3px solid rgba(0, 139, 255, .45);
    outline-offset: 2px;
}

.ilx-captcha { transform-origin: 0 0; }

.bc .ilx-kvkk {
    display: flex;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--bc-muted);
}

.bc .ilx-kvkk i { margin-top: 3px; color: var(--bc-blue-ink); }
.bc .ilx-kvkk a { color: var(--bc-blue-ink); font-weight: 500; }

/* ------------------------------------------------------- sonrası şeridi */

.ilx-sonra {
    background: #fff;
    border-bottom: 1px solid var(--bc-line);
}

.ilx-sonra__list {
    list-style: none;
    margin: 0;
    padding: 56px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.ilx-sonra__list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ilx-sonra__no {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--bc-blue-ink);
    padding-top: 3px;
    font-variant-numeric: tabular-nums;
}

.bc .ilx-sonra h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.bc .ilx-sonra p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--bc-muted);
}

/* ------------------------------------------------------------------ ofis */

.ilx-ofis__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}

.ilx-ofis__foto {
    position: relative;
    margin: 0;
    border-radius: var(--bc-r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3.3;
    box-shadow: var(--bc-sh);
}

.ilx-ofis__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ilx-ofis__foto figcaption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    color: var(--bc-ink);
    box-shadow: var(--bc-sh-sm);
}

.ilx-ofis__foto figcaption i { color: var(--bc-blue-ink); }

.ilx-ofis__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.bc .ilx-adres {
    display: flex;
    gap: 12px;
    margin: 4px 0 0;
    font-style: normal;
    font-size: 17px;
    line-height: 1.55;
    color: var(--bc-ink);
}

.ilx-adres i { margin-top: 5px; color: var(--bc-blue-ink); }

.ilx-saat {
    list-style: none;
    width: 100%;
    margin: 4px 0 8px;
    padding: 8px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-r);
    background: var(--bc-surface);
}

.bc .ilx-saat li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--bc-body);
}

.ilx-saat b {
    font-weight: 600;
    color: var(--bc-ink);
    font-variant-numeric: tabular-nums;
}

.bc .ilx-saat li.is-bugun {
    background: #fff;
    box-shadow: var(--bc-sh-xs);
    color: var(--bc-ink);
    font-weight: 600;
}

.ilx-saat em {
    font-style: normal;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--bc-blue-wash);
    color: var(--bc-blue-ink);
    font-size: 12px;
    font-weight: 600;
}

.ilx-ofis__act {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ilx-map {
    margin-top: 72px;
    height: 420px;
    border-radius: var(--bc-r-xl);
    overflow: hidden;
    border: 1px solid var(--bc-line);
    background: var(--bc-surface);
}

.ilx-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(.75) contrast(1.02);
}

/* ------------------------------------------------------------------- SSS */

.ilx-sss {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.ilx-sss__head {
    position: sticky;
    top: 112px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.ilx-sss__list { max-width: none; margin: 0; }

/* ============================================================ RESPONSIVE */

@media (max-width: 1100px) {
    .ilx-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; }
    .ilx-kanal { grid-template-columns: 1fr; }
    .bc .ilx-kanal__i { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
    .ilx-kanal__ico { margin: 0; }
    .ilx-kanal__k { order: 2; margin-left: auto; }
}

@media (max-width: 991px) {
    .ilx-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .ilx-intro { padding-top: 8px; }
    .ilx-hero { padding-bottom: 56px; }
    .ilx-sonra__list { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
    .ilx-ofis__grid { grid-template-columns: 1fr; gap: 40px; }
    .ilx-sss { grid-template-columns: 1fr; gap: 36px; }
    .ilx-sss__head { position: static; }
}

@media (max-width: 640px) {
    .ilx-hero { padding-top: 24px; }
    .bc .ilx-title { margin: 22px 0 16px; }
    .ilx-kanal { margin-top: 32px; }
    .ilx-form { padding: 24px 20px; margin-left: -4px; margin-right: -4px; }
    .ilx-row { grid-template-columns: 1fr; }
    .ilx-ofis__foto { border-radius: var(--bc-r-lg); }
    .ilx-map { height: 320px; margin-top: 48px; border-radius: var(--bc-r-lg); }
    .ilx-captcha { transform: scale(.92); }
}

/* ------------------------------------------- değerleme kartı (step-1) */

.ilx-form__adim {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bc-blue-wash);
    color: var(--bc-blue-ink);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ilx-fld {
    position: relative;
    padding: 14px 18px 12px;
    border-radius: 16px;
    background: var(--bc-surface);
    border: 1.5px solid transparent;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.ilx-fld:hover { border-color: var(--bc-line-2); }

.ilx-fld:focus-within,
.ilx-fld:has(.tos-ss.is-open) {
    background: #fff;
    border-color: var(--bc-blue);
    box-shadow: 0 0 0 4px rgba(0, 139, 255, .12);
}

.bc .ilx-fld__lbl {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--bc-muted);
}

.ilx-fld.is-filled .ilx-fld__lbl { color: var(--bc-blue-ink); }

.ilx-fld .tos-ss__btn { padding: 0; min-height: 30px; font-size: 18px; font-weight: 600; }
.ilx-fld .tos-ss.is-empty .tos-ss__btn { color: #8C97AB; font-weight: 500; }
.ilx-fld .tos-ss__pop { left: -20px; right: -20px; top: calc(100% + 14px); border-radius: 16px; }

.ilx-fld.is-locked { opacity: .55; }
.ilx-fld.is-locked:hover { border-color: transparent; }
.ilx-fld.is-locked .tos-ss__btn { cursor: not-allowed; }

.ilx-fld__spin {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: var(--bc-blue);
}

.ilx-fld.is-loading .ilx-fld__spin { display: block; }
.ilx-fld.is-loading .tos-ss__car { visibility: hidden; }
.ilx-fld:has(.tos-ss.is-hata) { border-color: var(--bc-err); background: #FEF3F2; }

.ilx-ok {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.bc .ilx-ok li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bc-muted);
}

.ilx-ok i { font-size: 10px; color: var(--bc-blue-ink); }

/* hero hâlesi kendi kabında kırpılsın (hero artık overflow-x: clip) */
.ilx-hero__bg { overflow: hidden; }

/* anasayfa kartıyla aynı sade adım etiketi */
.ilx-form__adim { padding: 0; border-radius: 0; background: none; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
