/* =========================================
   İLETİŞİM SAYFASI
   (hizmetler.css ve ozel-tasarim.css üzerine kurulur)
   ========================================= */
.il-hero { min-height: clamp(380px, 50vh, 480px); }

.il-main { padding: clamp(50px, 6vw, 90px) 0 clamp(60px, 7vw, 100px); scroll-margin-top: var(--header-h); }

.il-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(32px, 5vw, 70px);
}

/* BİLGİLER */
.il-info h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 14px;
}

.il-lead { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.il-cards { display: grid; gap: 12px; margin-bottom: 30px; }

.il-cards a,
.il-cards li > div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .07);
    transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.il-cards a:hover { border-color: rgba(227, 6, 19, .4); transform: translateX(4px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .2); }

.il-card-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(227, 6, 19, .08);
    color: var(--red);
}

.il-card-text { display: flex; flex-direction: column; min-width: 0; }
.il-card-text small { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.il-card-text strong { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }

.il-block + .il-block { margin-top: 24px; }
.il-block h3 { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 12px; }

.il-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.il-pills a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all .25s var(--ease);
}

.il-pills a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--red)); }
.il-pills a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* FORM */
.il-form-wrap {
    padding: clamp(24px, 3.4vw, 44px);
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 24px 60px -32px rgba(0, 0, 0, .28);
}

.il-form-head { margin-bottom: 22px; }

.il-form-head h2 {
    font-family: var(--serif);
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 6px;
}

.il-form-head p { font-size: 12px; color: var(--muted); }

.il-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-left: 3px solid var(--red);
    border-radius: 4px;
    background: rgba(227, 6, 19, .06);
    font-size: 13px;
    color: #9d0610;
}

/* Bot tuzağı alanı */
.il-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.il-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }

.il-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.il-field--wide { grid-column: 1 / -1; }

.il-field > span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.il-field > span small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }

.il-field input,
.il-field select,
.il-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.il-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.il-field select {
    appearance: none;
    padding-right: 40px;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14' fill='none' stroke='%23141414' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.il-field input:focus,
.il-field select:focus,
.il-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }

.il-field em,
.il-check em { font-size: 12px; font-style: normal; color: var(--red); }

.il-field.has-error input,
.il-field.has-error select,
.il-field.has-error textarea,
.il-field.has-error .il-file { border-color: var(--red); }

.il-note { font-size: 12px; color: var(--muted); }

/* Dosya seçimi */
.il-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px dashed rgba(0, 0, 0, .25);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}

.il-file:hover, .il-file:focus-within { border-color: var(--red); background: rgba(227, 6, 19, .03); }

.il-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.il-file-icon { flex-shrink: 0; color: var(--red); }
.il-file-text { display: flex; flex-direction: column; min-width: 0; }
.il-file-text b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.il-file-text small { font-size: 11px; color: var(--muted); }

/* KVKK onayı */
.il-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; font-size: 13px; color: var(--muted); cursor: pointer; }
.il-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.il-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.il-check em { grid-column: 2; }

.il-submit { width: 100%; justify-content: center; }

/* Özel tasarım özeti */
.il-design {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 26px;
    padding: 16px;
    border-radius: 6px;
    background: #f7f7f5;
}

.il-design-scene { width: 100%; }

.il-design-info .srv-kicker { margin-bottom: 12px; }

.il-design-info dl { display: grid; gap: 6px; margin-bottom: 14px; }
.il-design-info dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(0, 0, 0, .07); font-size: 13px; }
.il-design-info dt { color: var(--muted); }
.il-design-info dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.il-design-edit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--red); }
.il-design-edit:hover { gap: 10px; }

/* Sabit ölçü uyarısı */
.il-size-note {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 6px;
    border: 1px solid rgba(227, 6, 19, .22);
    background: rgba(227, 6, 19, .045);
}

.il-size-note[hidden] { display: none; }

/* Bilgilendirme (toptan): nötr renk, uyarıdan ayrışsın */
.il-size-note--info { border-color: rgba(0, 0, 0, .12); background: #f7f7f5; }
.il-size-note--info .il-size-note-icon { color: var(--ink); }

.il-size-note-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: var(--red);
}

.il-size-note strong { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.il-size-note p { font-size: 13px; line-height: 1.6; color: #4a4744; }
.il-size-note p b { font-weight: 600; color: var(--ink); }

.il-size-note-shop { margin-top: 8px; }
.il-size-note-min { margin-top: 8px; }
.il-size-note-shop a { margin-left: 8px; font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* Ürün sayfasından gelinen ürün */
.il-product {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px;
    border-radius: 6px;
    background: #f7f7f5;
    transition: background .25s var(--ease);
}

.il-product:hover { background: #f0efec; }
.il-product-icon { flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 6px; background: var(--white); color: var(--red); }
.il-product img { width: 64px; height: 80px; object-fit: cover; border-radius: 4px; }
.il-product > span { display: flex; flex-direction: column; gap: 2px; }
.il-product small { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.il-product strong { font-size: 15px; font-weight: 600; }
.il-product span span { font-size: 13px; color: var(--muted); }

/* Gönderildi */
.il-success { padding: clamp(20px, 4vw, 40px) 0; text-align: center; }

.il-success-icon {
    display: inline-grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(227, 6, 19, .08);
    color: var(--red);
}

.il-success h2 { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; margin-bottom: 10px; }
.il-success p { max-width: 420px; margin: 0 auto 26px; font-size: 14px; color: var(--muted); }
.il-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.il-success-actions .btn { align-self: auto; }

/* Mağaza haritası */
.il-map { padding: 0 0 clamp(60px, 7vw, 100px); }
.il-map .srv-head p { margin-top: 10px; font-size: 14px; color: var(--muted); }

.il-map-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 24px 60px -32px rgba(0, 0, 0, .28);
}

.il-map-box iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; }

/* Haritanın üstünde adres kartı */
.il-map-card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 320px;
    padding: 20px 22px;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .35);
}

.il-map-card strong { font-size: 16px; font-weight: 600; }
.il-map-card span { font-size: 13px; color: var(--muted); }
.il-map-card .btn { margin-top: 12px; align-self: flex-start; }

/* RESPONSIVE */
@media (max-width: 991px) {
    .il-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .il-fields { grid-template-columns: minmax(0, 1fr); }
    .il-map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; border-top: 1px solid rgba(0, 0, 0, .07); }
    .il-design { grid-template-columns: minmax(0, 1fr); }
}
