/* ==========================================================
   Tatlı Bebek — İletişim sayfası (Güncelleme 18)
   Renkler tema değişkenlerinden gelir; tüm temalarda uyumludur.
   ========================================================== */
.page-contact { --ct-radius: 26px; }

/* ---------- 3D başlık ---------- */
.ct-hero {
    position: relative; overflow: hidden; padding: 28px 0 96px;
    background:
        radial-gradient(ellipse 50% 70% at 18% 30%, var(--bg-ffffff) 0, transparent 70%),
        radial-gradient(ellipse 40% 60% at 92% 10%, var(--bg-fff4f8) 0, transparent 70%),
        linear-gradient(160deg, var(--bg-e9f6ff) 0%, var(--bg-f4f8ff) 45%, var(--bg-fff1f5) 100%);
}
.ct-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; pointer-events: none;
    background: var(--white); -webkit-mask: radial-gradient(120% 90px at 50% 100%, #000 60%, transparent 61%); mask: radial-gradient(120% 90px at 50% 100%, #000 60%, transparent 61%); }
.ct-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 28px; }
.ct-hero__art { margin: 0; justify-self: center; width: min(100%, 540px); }
.ct-hero__art img { width: 100%; height: auto; filter: drop-shadow(0 22px 30px rgba(60, 70, 140, .16)); animation: ct-float 6s ease-in-out infinite; }
.ct-hero__copy { min-width: 0; }
.ct-breadcrumb { margin-bottom: 10px; }
.ct-hero__title {
    margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -.01em;
    font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); color: var(--tx-1f2a5a, var(--ink));
}
.ct-hero__lead { margin: 6px 0 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--tx-pink-600); }
.ct-hero__text { margin: 0 0 18px; max-width: 34rem; color: var(--ink-soft); font-size: 1.05rem; }
.ct-hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-hero__chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: .86rem; font-weight: 700;
    background: var(--bg-ffffff); color: var(--ink); border: 1px solid var(--bd-ffe1ec); box-shadow: 0 4px 12px rgba(44, 49, 80, .06); }
.ct-hero__chips .icon { color: var(--tx-tone-mint-fg); }
/* yumuşak süsler (yalnızca CSS, ek görsel yükü yok) */
.ct-hero__cloud { position: absolute; border-radius: 999px; background: var(--bg-ffffff); opacity: .75; filter: blur(.5px); }
.ct-hero__cloud::before, .ct-hero__cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.ct-hero__cloud--1 { width: 150px; height: 44px; left: 6%; top: 34px; }
.ct-hero__cloud--1::before { width: 70px; height: 70px; left: 24px; top: -34px; }
.ct-hero__cloud--1::after { width: 50px; height: 50px; left: 78px; top: -22px; }
.ct-hero__cloud--2 { width: 120px; height: 36px; right: 5%; bottom: 120px; }
.ct-hero__cloud--2::before { width: 56px; height: 56px; left: 18px; top: -28px; }
.ct-hero__cloud--2::after { width: 42px; height: 42px; left: 62px; top: -18px; }
.ct-hero__heart { position: absolute; color: var(--tx-pink-500); font-size: 1.6rem; opacity: .8; animation: ct-float 5s ease-in-out infinite; }
.ct-hero__heart--1 { right: 9%; top: 40px; }
.ct-hero__heart--2 { left: 46%; bottom: 110px; font-size: 1.1rem; animation-delay: -2s; }
@keyframes ct-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Form + yan bilgi ---------- */
.ct-main { position: relative; z-index: 2; margin-top: -78px; padding-bottom: 56px; }
.ct-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.ct-card {
    position: relative; background: var(--bg-ffffff); border: 1px solid var(--bd-ffe1ec); border-radius: var(--ct-radius);
    padding: clamp(20px, 3vw, 34px); box-shadow: 0 2px 6px rgba(44, 49, 80, .04), 0 24px 50px rgba(44, 49, 80, .10);
}
.ct-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.ct-card__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 17px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--bg-62b3ff, #62b3ff), var(--blue-500)); box-shadow: 0 10px 20px rgba(59, 127, 212, .28); }
.ct-card__icon .icon { width: 26px; height: 26px; }
.ct-card__title { margin: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); color: var(--ink); }
.ct-card__sub { margin: 2px 0 0; color: var(--ink-soft); font-size: .93rem; }
.ct-alert-slot:empty { display: none; }
.ct-alert-slot .alert { margin-bottom: 16px; }

.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ct-field { margin-bottom: 16px; min-width: 0; }
.ct-field > label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.ct-input { position: relative; display: flex; }
.ct-input__icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--tx-blue-500); display: grid; place-items: center; pointer-events: none; }
.ct-input--area .ct-input__icon { top: 15px; transform: none; }
.ct-input__icon .icon { width: 20px; height: 20px; }
.ct-input__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: grid; }
.ct-input__chev .icon { width: 18px; height: 18px; }
.ct-input input, .ct-input select, .ct-input textarea {
    width: 100%; min-height: 52px; padding: 13px 16px 13px 46px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--bg-fafafc); border: 2px solid var(--bd-eadfe4); border-radius: 16px; transition: border-color .18s, box-shadow .18s, background-color .18s;
    -webkit-appearance: none; appearance: none;
}
.ct-input select { padding-right: 42px; cursor: pointer; }
.ct-input textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.ct-input input::placeholder, .ct-input textarea::placeholder { color: var(--muted); opacity: .85; }
.ct-input input:hover, .ct-input select:hover, .ct-input textarea:hover { border-color: var(--bd-ffc7da); }
.ct-input input:focus, .ct-input select:focus, .ct-input textarea:focus { outline: none; background: var(--bg-ffffff); border-color: var(--pink-500); box-shadow: 0 0 0 4px var(--pink-50); }
.ct-input [aria-invalid="true"] { border-color: var(--tone-red-fg); background: var(--bg-ffffff); }
.ct-input [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px var(--tone-red-bg); }
.ct-field.is-valid .ct-input__icon { color: var(--tx-tone-mint-fg); }
.ct-field__hint { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.ct-count { flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.ct-count.is-low { color: var(--tx-tone-red-fg); }
.ct-field__error { display: flex; align-items: center; gap: 5px; margin: 7px 0 0; color: var(--tx-tone-red-fg); font-size: .86rem; font-weight: 700; }
.ct-field__error[hidden] { display: none; }
.ct-field__error .icon { width: 14px; height: 14px; stroke-width: 3; flex-shrink: 0; }

.ct-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 6px; font-size: .9rem; color: var(--ink-soft); }
.ct-consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--pink-600); cursor: pointer; }
.ct-consent label { cursor: pointer; }
.ct-consent a { color: var(--tx-pink-600); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.ct-kvkk { margin: 0 0 4px 32px; font-size: .84rem; color: var(--ink-soft); }
.ct-kvkk summary { cursor: pointer; font-weight: 700; color: var(--tx-blue-600); width: fit-content; }
.ct-kvkk p { margin: 8px 0 0; padding: 10px 12px; background: var(--bg-f6f2f5); border-radius: 12px; }
#ct-consent-err { margin-left: 32px; }

.ct-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
    border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s, opacity .18s; }
.ct-btn--primary { width: 100%; margin-top: 18px; color: #fff; background: var(--brand-grad); box-shadow: 0 14px 26px var(--sh-e6187a47, rgba(230, 24, 122, .28)); }
.ct-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px var(--sh-e6187a5c, rgba(230, 24, 122, .36)); }
.ct-btn--primary:active { transform: translateY(0) scale(.99); }
.ct-btn:focus-visible { outline: 3px solid var(--bd-ffb3cc); outline-offset: 3px; }
.ct-btn--ghost { color: var(--tx-pink-600); background: var(--pink-50); border: 2px solid var(--bd-ffc7da); }
.ct-btn__label, .ct-btn__busy { display: inline-flex; align-items: center; gap: 10px; }
.ct-btn__busy { display: none; }
.ct-btn.is-busy { pointer-events: none; opacity: .9; }
.ct-btn.is-busy .ct-btn__label { display: none; }
.ct-btn.is-busy .ct-btn__busy { display: inline-flex; }
.ct-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: ct-spin .8s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }

/* başarı durumu */
.ct-success { text-align: center; padding: 26px 10px 10px; outline: none; }
.ct-success[hidden] { display: none; }
.ct-success h3 { margin: 12px 0 6px; font-size: 1.5rem; color: var(--ink); }
.ct-success p { margin: 0 auto 18px; max-width: 30rem; color: var(--ink-soft); }
.ct-success__check { width: 84px; height: 84px; display: block; margin: 0 auto; }
.ct-success__check circle { fill: var(--tone-mint-bg); stroke: var(--tone-mint-fg); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ct-draw .6s var(--ease) forwards; }
.ct-success__check path { fill: none; stroke: var(--tone-mint-fg); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ct-draw .4s .45s var(--ease) forwards; }
.ct-success.is-new { animation: ct-pop .45s var(--ease); }
@keyframes ct-draw { to { stroke-dashoffset: 0; } }
@keyframes ct-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.ct-form.is-shake { animation: ct-shake .35s; }
@keyframes ct-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

/* yan bilgi kartları */
.ct-side { display: grid; gap: 14px; }
.ct-info { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--bg-ffffff); border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 10px 26px rgba(44, 49, 80, .07); transition: transform .2s var(--ease), box-shadow .2s; }
.ct-info:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(44, 49, 80, .1); }
.ct-info__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; background: var(--tone-bg); color: var(--tone-ink, var(--tone-fg)); }
.ct-info__icon .icon { width: 23px; height: 23px; }
.ct-info__title { margin: 0 0 3px; font-size: 1.02rem; color: var(--ink); }
.ct-info p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.ct-info a { font-weight: 800; color: var(--tx-blue-600); overflow-wrap: anywhere; }
.ct-info--warn { border-color: var(--bd-f2c9cf); background: var(--bg-fff4f6, var(--bg-ffffff)); }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
    .ct-layout { grid-template-columns: minmax(0, 1fr); }
    .ct-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ct-hero { padding: 16px 0 84px; }
    .ct-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 4px; text-align: center; }
    .ct-hero__copy { order: -1; }
    .ct-breadcrumb ol { justify-content: center; }
    .ct-hero__text { margin-left: auto; margin-right: auto; }
    .ct-hero__chips { justify-content: center; }
    .ct-hero__art { width: min(78%, 360px); }
    .ct-hero__cloud, .ct-hero__heart--2 { display: none; }
    .ct-main { margin-top: -64px; }
}
@media (max-width: 600px) {
    .ct-grid { grid-template-columns: minmax(0, 1fr); }
    .ct-side { grid-template-columns: minmax(0, 1fr); }
    .ct-card { border-radius: 22px; }
    .ct-card__icon { width: 44px; height: 44px; border-radius: 14px; }
    .ct-kvkk, #ct-consent-err { margin-left: 0; }
    .ct-field__hint { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-hero__art img, .ct-hero__heart, .ct-spinner { animation: none; }
    .ct-success__check circle, .ct-success__check path { animation: none; stroke-dashoffset: 0; }
    .ct-success.is-new, .ct-form.is-shake { animation: none; }
    .ct-btn, .ct-info { transition: none; }
}
