/**
 * AYS Belge – Form bileşenleri.
 * Alanlar, çip kartlar, hap radyolar, sihirbaz, özet paneli, başarı ekranı,
 * hızlı form varyantları (modal / bar / kart), iletişim formu.
 *
 * @package AYSBelge
 */

/* ---------------------------------------------------------------
 * Temel
 * ------------------------------------------------------------- */
.ays-form-wrap { position: relative; }
.ays-form { position: relative; margin: 0; }
.ays-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ays-form [hidden] { display: none !important; }
.ays-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ays-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }

.ays-form__notice {
	margin-bottom: 18px; padding: 14px 18px; border-radius: var(--ays-radius);
	font-weight: 600; font-size: 15px;
}
.ays-form__notice.is-success { background: rgba(22, 163, 74, .1); color: var(--ays-success); }
.ays-form__notice.is-error { background: rgba(220, 38, 38, .08); color: var(--ays-danger); }

/* ---------------------------------------------------------------
 * Alan
 * ------------------------------------------------------------- */
.ays-field { position: relative; margin-bottom: 18px; }
.ays-field__label {
	display: flex; align-items: baseline; gap: 6px;
	margin-bottom: 8px;
	font-size: 13.5px; font-weight: 650; letter-spacing: -.005em; color: var(--ays-text-2);
}
.ays-field__req { color: var(--ays-blue); font-weight: 700; }
.ays-field__opt { font-weight: 500; color: var(--ays-muted); font-size: 12.5px; }
.ays-field__control { position: relative; }

.ays-input {
	display: block; width: 100%;
	min-height: 54px; padding: 14px 16px;
	border: 1.5px solid var(--ays-line-2); border-radius: 14px;
	background: #fff; color: var(--ays-text);
	font: inherit; font-size: 16px; line-height: 1.4;
	box-shadow: 0 1px 0 rgba(10, 20, 38, .02);
	transition: border-color .25s, box-shadow .35s var(--ays-ease), background-color .25s;
	-webkit-appearance: none; appearance: none;
}
.ays-input::placeholder { color: #9aa5b8; opacity: 1; }
.ays-input:hover { border-color: #b9c6db; }
.ays-input:focus {
	outline: none; border-color: var(--ays-blue);
	box-shadow: 0 0 0 4px rgba(44, 107, 237, .16);
}
textarea.ays-input { min-height: 112px; resize: vertical; }
.ays-field.has-icon .ays-input { padding-left: 46px; }
.ays-field__icon {
	position: absolute; left: 16px; top: 27px; transform: translateY(-50%);
	width: 18px; height: 18px; color: var(--ays-muted); pointer-events: none;
	transition: color .25s;
}
.ays-field__control:focus-within .ays-field__icon { color: var(--ays-blue); }
.ays-field--textarea .ays-field__icon { top: 26px; }

.ays-select { padding-right: 44px; cursor: pointer; text-overflow: ellipsis; }
.ays-select__caret {
	position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
	width: 18px; height: 18px; color: var(--ays-muted); pointer-events: none;
}
.ays-select:invalid, .ays-select option[value=""] { color: #9aa5b8; }
.ays-select option { color: var(--ays-text); }

.ays-field__error {
	margin: 0; max-height: 0; overflow: hidden;
	font-size: 13px; font-weight: 600; color: var(--ays-danger);
	transition: max-height .3s var(--ays-ease), margin .3s var(--ays-ease);
}
.ays-field.is-invalid .ays-field__error { max-height: 60px; margin-top: 7px; }
.ays-field.is-invalid .ays-input { border-color: var(--ays-danger); }
.ays-field.is-invalid .ays-input:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .14); }
.ays-field.is-invalid .ays-field__icon { color: var(--ays-danger); }
.ays-field.is-invalid { animation: ays-shake .4s var(--ays-ease); }
@keyframes ays-shake {
	20% { transform: translateX(-5px); }
	45% { transform: translateX(4px); }
	70% { transform: translateX(-2px); }
}

/* ---------------------------------------------------------------
 * Onay kutusu (KVKK)
 * ------------------------------------------------------------- */
.ays-check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.55; color: var(--ays-text-2); }
.ays-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.ays-check__box {
	flex: none; display: grid; place-items: center;
	width: 22px; height: 22px; margin-top: 1px;
	border: 1.5px solid var(--ays-line-2); border-radius: 7px; background: #fff;
	color: #fff; transition: background .25s, border-color .25s, box-shadow .3s;
}
.ays-check__box .ays-icon { width: 14px; height: 14px; stroke-width: 3; transform: scale(0); transition: transform .35s var(--ays-ease); }
.ays-check input:checked + .ays-check__box { background: var(--ays-blue); border-color: var(--ays-blue); }
.ays-check input:checked + .ays-check__box .ays-icon { transform: scale(1); }
.ays-check input:focus-visible + .ays-check__box { box-shadow: 0 0 0 4px rgba(44, 107, 237, .2); }
.ays-check a { color: var(--ays-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ays-field--consent.is-invalid .ays-check__box { border-color: var(--ays-danger); }

/* ---------------------------------------------------------------
 * Hap (pill) radyo
 * ------------------------------------------------------------- */
.ays-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ays-pill { position: relative; cursor: pointer; }
.ays-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ays-pill__txt {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 44px; padding: 10px 18px;
	border: 1.5px solid var(--ays-line-2); border-radius: var(--ays-pill);
	background: #fff; color: var(--ays-text-2);
	font-size: 14.5px; font-weight: 600; line-height: 1.2;
	transition: border-color .25s, background .25s, color .25s, box-shadow .35s var(--ays-ease), transform .35s var(--ays-ease);
}
.ays-pill:hover .ays-pill__txt { border-color: #a9bbd6; transform: translateY(-1px); }
.ays-pill input:checked + .ays-pill__txt {
	border-color: var(--ays-navy); background: var(--ays-navy); color: #fff;
	box-shadow: 0 10px 22px -14px rgba(11, 44, 87, .9);
}
.ays-pill input:focus-visible + .ays-pill__txt { box-shadow: 0 0 0 4px rgba(44, 107, 237, .22); }
.ays-field--pills.is-invalid .ays-pill__txt { border-color: rgba(220, 38, 38, .5); }

/* ---------------------------------------------------------------
 * Sihirbaz – başlık, adım göstergesi, ilerleme
 * ------------------------------------------------------------- */
.ays-qf {
	--qf-pad: clamp(20px, 3.4vw, 40px);
	border: 1px solid var(--ays-line); border-radius: var(--ays-radius-xl);
	background: #fff; box-shadow: var(--ays-shadow-lg);
	overflow: hidden;
}
.ays-wizard__head {
	padding: calc(var(--qf-pad) * .8) var(--qf-pad) 0;
	border-bottom: 1px solid var(--ays-line);
	background: linear-gradient(180deg, var(--ays-mist), #fff);
}
.ays-steps { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.ays-steps__item { flex: 1; min-width: 0; }
.ays-steps__btn {
	display: flex; align-items: center; gap: 10px; width: 100%;
	padding: 0; border: 0; background: none; color: var(--ays-muted);
	font: inherit; font-size: 14px; font-weight: 650; text-align: left; cursor: pointer;
}
.ays-steps__btn:disabled { cursor: default; }
.ays-steps__num {
	position: relative; flex: none; display: grid; place-items: center;
	width: 34px; height: 34px; border-radius: 50%;
	border: 1.5px solid var(--ays-line-2); background: #fff;
	font-size: 14px; font-weight: 700; color: var(--ays-muted);
	transition: background .35s, border-color .35s, color .35s, box-shadow .4s var(--ays-ease);
}
.ays-steps__ok { position: absolute; width: 16px; height: 16px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ays-ease); }
.ays-steps__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ays-steps__item.is-current .ays-steps__btn { color: var(--ays-navy); }
.ays-steps__item.is-current .ays-steps__num {
	background: var(--ays-navy); border-color: var(--ays-navy); color: #fff;
	box-shadow: 0 0 0 5px rgba(44, 107, 237, .14);
}
.ays-steps__item.is-done .ays-steps__btn { color: var(--ays-text-2); }
.ays-steps__item.is-done .ays-steps__num { background: var(--ays-blue); border-color: var(--ays-blue); color: #fff; }
.ays-steps__item.is-done .ays-steps__n { opacity: 0; }
.ays-steps__item.is-done .ays-steps__ok { opacity: 1; transform: scale(1); }
.ays-steps__item.is-done .ays-steps__btn:hover .ays-steps__label { color: var(--ays-blue); }
.ays-steps__btn:focus-visible { outline: none; }
.ays-steps__btn:focus-visible .ays-steps__num { box-shadow: 0 0 0 4px rgba(44, 107, 237, .3); }

.ays-progress { position: relative; height: 3px; margin: 0 calc(var(--qf-pad) * -1); background: var(--ays-line); }
.ays-progress__bar {
	position: absolute; left: 0; top: 0; bottom: 0;
	background: linear-gradient(90deg, var(--ays-navy), var(--ays-blue) 70%, var(--ays-blue-2));
	border-radius: 0 3px 3px 0;
	transition: width .7s var(--ays-ease);
}
.ays-progress__bar::after {
	content: ""; position: absolute; right: -4px; top: 50%; width: 9px; height: 9px; transform: translateY(-50%);
	border-radius: 50%; background: var(--ays-blue-2); box-shadow: 0 0 0 4px rgba(91, 147, 255, .25), 0 0 14px rgba(44, 107, 237, .8);
}

/* Gövde */
.ays-wizard__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.ays-wizard__main { min-width: 0; padding: var(--qf-pad); }
.ays-wizard__viewport { position: relative; }

.ays-step { outline: none; }
.ays-form.is-enhanced .ays-step { display: none; }
.ays-form.is-enhanced .ays-step.is-active { display: block; }
.ays-form:not(.is-enhanced) .ays-step + .ays-step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--ays-line); }
.ays-form:not(.is-enhanced) [data-next], .ays-form:not(.is-enhanced) [data-prev], .ays-form:not(.is-enhanced) .ays-chip-search { display: none; }
.ays-step.is-enter-fwd { animation: ays-step-fwd .6s var(--ays-ease) both; }
.ays-step.is-enter-back { animation: ays-step-back .6s var(--ays-ease) both; }
@keyframes ays-step-fwd { from { opacity: 0; transform: translateX(36px); } }
@keyframes ays-step-back { from { opacity: 0; transform: translateX(-36px); } }

.ays-step__title {
	display: block; float: none; width: 100%; padding: 0; margin: 0 0 6px;
	font-size: var(--ays-fs-h3); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; color: var(--ays-text);
}
.ays-step__kicker {
	display: block; margin-bottom: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ays-blue);
}
.ays-step__hint { margin: 0 0 22px; color: var(--ays-muted); font-size: 15px; }
.ays-step__nav {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ays-line);
}
.ays-step__nav [data-next] { margin-left: auto; }
.ays-step__note { display: inline-flex; align-items: center; gap: 8px; color: var(--ays-muted); font-size: 14px; font-weight: 500; }
.ays-step__note .ays-icon { width: 17px; height: 17px; color: var(--ays-blue); }
.ays-step__nav--submit .ays-form__submit { margin-left: auto; }

.ays-form__wa-hint {
	display: flex; align-items: center; justify-content: flex-end; gap: 8px;
	margin: 14px 0 0; color: var(--ays-muted); font-size: 13px;
}
.ays-form__wa-hint .ays-icon { width: 16px; height: 16px; color: var(--ays-wa-dark); flex: none; }

/* ---------------------------------------------------------------
 * Çip araması + çip kartlar
 * ------------------------------------------------------------- */
.ays-chip-search { position: relative; margin-bottom: 16px; }
.ays-chip-search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ays-muted); pointer-events: none; }
.ays-chip-search__input {
	width: 100%; min-height: 48px; padding: 12px 16px 12px 46px;
	border: 1.5px solid var(--ays-line); border-radius: var(--ays-pill);
	background: var(--ays-mist); color: var(--ays-text); font: inherit; font-size: 15px;
	transition: border-color .25s, box-shadow .35s var(--ays-ease), background .25s;
	-webkit-appearance: none; appearance: none;
}
.ays-chip-search__input:focus { outline: none; background: #fff; border-color: var(--ays-blue); box-shadow: 0 0 0 4px rgba(44, 107, 237, .16); }

.ays-chipcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 430px; overflow-y: auto; padding: 4px; margin: -4px; overscroll-behavior: contain; scrollbar-width: thin; }
.ays-chipcards__empty { margin: 8px 0 0; padding: 14px 16px; border-radius: var(--ays-radius); background: var(--ays-mist); color: var(--ays-muted); font-size: 14px; }
.ays-chipcard {
	position: relative; display: flex; align-items: center; gap: 12px;
	min-height: 66px; padding: 12px 40px 12px 12px;
	border: 1.5px solid var(--ays-line); border-radius: var(--ays-radius);
	background: #fff; cursor: pointer;
	transition: border-color .25s, background .25s, box-shadow .4s var(--ays-ease), transform .4s var(--ays-ease);
}
.ays-chipcard input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ays-chipcard:hover { border-color: #b7c7e0; transform: translateY(-2px); box-shadow: var(--ays-shadow-sm); }
.ays-chipcard__ico {
	flex: none; display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 12px; background: var(--ays-ice); color: var(--ays-navy);
	transition: background .3s, color .3s;
}
.ays-chipcard__ico .ays-icon { width: 20px; height: 20px; }
.ays-chipcard__body { display: flex; flex-direction: column; min-width: 0; }
.ays-chipcard__code { font-size: 14.5px; font-weight: 700; line-height: 1.25; color: var(--ays-text); letter-spacing: -.01em; }
.ays-chipcard__name { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--ays-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ays-chipcard__check {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(.7);
	display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
	border: 1.5px solid var(--ays-line-2); color: #fff;
	transition: background .25s, border-color .25s, transform .4s var(--ays-ease);
}
.ays-chipcard__check .ays-icon { width: 13px; height: 13px; stroke-width: 3; opacity: 0; transition: opacity .2s; }
.ays-chipcard:has(input:checked), .ays-chipcard.is-checked {
	border-color: var(--ays-blue); background: linear-gradient(180deg, #f5f8ff, #fff);
	box-shadow: 0 0 0 3px rgba(44, 107, 237, .1), 0 14px 30px -18px rgba(44, 107, 237, .6);
}
.ays-chipcard input:checked ~ .ays-chipcard__ico { background: var(--ays-blue); color: #fff; }
.ays-chipcard input:checked ~ .ays-chipcard__check { background: var(--ays-blue); border-color: var(--ays-blue); transform: translateY(-50%) scale(1); }
.ays-chipcard input:checked ~ .ays-chipcard__check .ays-icon { opacity: 1; }
.ays-chipcard input:focus-visible ~ .ays-chipcard__ico { box-shadow: 0 0 0 4px rgba(44, 107, 237, .3); }
.ays-chipcard--unsure { margin-top: 12px; border-style: dashed; background: var(--ays-mist); }
.ays-chipcard--unsure .ays-chipcard__ico { background: #fff; }
.ays-field--chips.is-invalid .ays-chipcard { border-color: rgba(220, 38, 38, .35); }

/* ---------------------------------------------------------------
 * Özet paneli
 * ------------------------------------------------------------- */
.ays-summary {
	display: flex; flex-direction: column; gap: 18px;
	padding: var(--qf-pad) calc(var(--qf-pad) * .75);
	border-left: 1px solid var(--ays-line);
	background: var(--ays-mist);
}
.ays-summary__card {
	position: sticky; top: calc(var(--ays-navbar-h) + 20px);
	padding: 20px; border-radius: var(--ays-radius-lg);
	background: linear-gradient(160deg, var(--ays-navy-900), var(--ays-navy) 70%);
	color: #fff; box-shadow: 0 24px 50px -28px rgba(7, 28, 58, .9);
	overflow: hidden;
}
.ays-summary__card::before {
	content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
	background: radial-gradient(circle, rgba(44, 107, 237, .55), transparent 70%); pointer-events: none;
}
.ays-summary__head { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ays-summary__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ays-sky); }
.ays-summary__count {
	display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--ays-pill);
	background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700;
	transition: background .3s, transform .4s var(--ays-ease);
}
.ays-summary__count.is-on { background: var(--ays-blue); }
.ays-summary__chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; margin-bottom: 16px; }
.ays-summary__chip {
	display: inline-flex; align-items: center; padding: 6px 11px; border-radius: var(--ays-pill);
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16);
	font-size: 12.5px; font-weight: 650; animation: ays-chip-pop .45s var(--ays-ease);
}
@keyframes ays-chip-pop { from { opacity: 0; transform: scale(.8); } }
.ays-summary__empty { font-size: 13.5px; color: var(--ays-on-dark-3); }
.ays-summary__list { position: relative; margin: 0; }
.ays-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ays-line-dark); font-size: 13.5px; }
.ays-summary__row dt { color: var(--ays-on-dark-3); }
.ays-summary__row dd { margin: 0; text-align: right; color: var(--ays-on-dark-3); font-weight: 600; overflow-wrap: anywhere; }
.ays-summary__row dd.is-set { color: #fff; }

.ays-trust-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ays-trust-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ays-text-2); line-height: 1.4; }
.ays-trust-list .ays-icon {
	flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 11px;
	background: #fff; color: var(--ays-blue); box-shadow: var(--ays-shadow-sm);
}
.ays-trust-list .ays-icon--brand-whatsapp { color: var(--ays-wa-dark); }

/* ---------------------------------------------------------------
 * Durum & gönder
 * ------------------------------------------------------------- */
.ays-form__status {
	margin: 16px 0 0; padding: 12px 16px; border-radius: 12px;
	background: rgba(44, 107, 237, .08); color: var(--ays-navy); font-size: 14px; font-weight: 600;
}
.ays-form__status.is-error { background: rgba(220, 38, 38, .08); color: var(--ays-danger); }
.ays-form.is-busy .ays-form__submit { cursor: progress; opacity: .85; }
.ays-form.is-busy .ays-form__submit .ays-btn__icon { animation: ays-send 1s var(--ays-ease) infinite; }
@keyframes ays-send { 50% { transform: translate(4px, -4px); opacity: .4; } }

/* ---------------------------------------------------------------
 * Başarı ekranı
 * ------------------------------------------------------------- */
.ays-form__success {
	padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
	text-align: center; outline: none;
}
.ays-qf .ays-form__success { background: radial-gradient(120% 80% at 50% 0%, var(--ays-ice), #fff 60%); }
.ays-form__success-icon { width: 84px; height: 84px; margin: 0 auto 20px; }
.ays-form__success-icon svg { width: 100%; height: 100%; overflow: visible; }
.ays-form__success-ring { stroke: var(--ays-success); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; transform-origin: center; }
.ays-form__success-tick { stroke: var(--ays-success); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.ays-form__success.is-in .ays-form__success-icon { animation: ays-ok-pop .7s var(--ays-ease) .55s both; }
.ays-form__success.is-in .ays-form__success-ring { animation: ays-draw .7s var(--ays-ease) forwards; }
.ays-form__success.is-in .ays-form__success-tick { animation: ays-draw .45s var(--ays-ease) .45s forwards; }
.ays-form__success.is-in .ays-form__success-title,
.ays-form__success.is-in .ays-form__success-text,
.ays-form__success.is-in .ays-form__success-actions { animation: ays-rise .7s var(--ays-ease) both; }
.ays-form__success.is-in .ays-form__success-text { animation-delay: .08s; }
.ays-form__success.is-in .ays-form__success-actions { animation-delay: .16s; }
@keyframes ays-draw { to { stroke-dashoffset: 0; } }
@keyframes ays-ok-pop { 50% { transform: scale(1.08); } }
@keyframes ays-rise { from { opacity: 0; transform: translateY(14px); } }
.ays-form__success-title { margin: 0 0 8px; font-size: var(--ays-fs-h3); letter-spacing: -.025em; color: var(--ays-text); }
.ays-form__success-text { max-width: 420px; margin: 0 auto 24px; color: var(--ays-muted); }
.ays-form__success-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------
 * Hızlı form – ortak
 * ------------------------------------------------------------- */
.ays-qk__fields { display: grid; gap: 0; }
.ays-qk__action { margin-bottom: 16px; }
.ays-qk .ays-field--consent { margin-bottom: 0; }
.ays-qk .ays-form__success { padding: 28px 8px 12px; }

/* Modal */
.ays-qk--modal .ays-qk__action { margin-top: 4px; }

/* Kart / yan panel */
.ays-qk--boxed {
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--ays-line); border-radius: var(--ays-radius-lg);
	background: #fff; box-shadow: var(--ays-shadow);
}
.ays-qk--sidebar { position: sticky; top: calc(var(--ays-navbar-h) + 24px); }
.ays-qk__head { margin-bottom: 20px; }
.ays-qk__badge {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 12px;
	border-radius: var(--ays-pill); background: var(--ays-ice); color: var(--ays-navy);
	font-size: 12.5px; font-weight: 700;
}
.ays-qk__title { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.2; color: var(--ays-text); }
.ays-qk__lead { margin: 0; color: var(--ays-muted); font-size: 14.5px; }
.ays-qk--boxed .ays-input { min-height: 50px; }
.ays-qk__trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--ays-line); list-style: none; font-size: 13px; font-weight: 600; color: var(--ays-muted); }
.ays-qk__trust li { display: inline-flex; align-items: center; gap: 6px; }
.ays-qk__trust .ays-icon { width: 16px; height: 16px; color: var(--ays-blue); }
.ays-qk__trust .ays-icon--brand-whatsapp { color: var(--ays-wa-dark); }

/* Bar – hero altı, koyu cam zemin */
.ays-qk--bar .ays-field__label {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ays-qk--bar .ays-field { margin-bottom: 0; }
.ays-qk--bar .ays-qk__fields { gap: 10px; }
.ays-qk--bar .ays-qk__action { margin: 0; }
.ays-qk--bar .ays-input {
	min-height: 54px; border-color: rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .07); color: #fff;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ays-qk--bar .ays-input::placeholder { color: var(--ays-on-dark-3); }
.ays-qk--bar .ays-input:hover { border-color: rgba(255, 255, 255, .28); }
.ays-qk--bar .ays-input:focus { border-color: var(--ays-blue-2); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(91, 147, 255, .25); }
.ays-qk--bar .ays-field__icon, .ays-qk--bar .ays-select__caret { color: var(--ays-on-dark-3); }
.ays-qk--bar .ays-field__control:focus-within .ays-field__icon { color: var(--ays-sky); }
.ays-qk--bar .ays-select { color: #fff; }
.ays-qk--bar .ays-select option { color: var(--ays-text); background: #fff; }
.ays-qk--bar .ays-select:invalid { color: var(--ays-on-dark-3); }
.ays-qk--bar .ays-form__submit { width: 100%; min-height: 54px; white-space: nowrap; }
.ays-qk--bar .ays-field__error { color: #fca5a5; }
.ays-qk--bar .ays-field.is-invalid .ays-input { border-color: #f87171; }
.ays-qk--bar .ays-field--consent { margin-top: 12px; }
.ays-field--consent.is-dark .ays-check { color: var(--ays-on-dark-2); font-size: 13px; }
.ays-field--consent.is-dark .ays-check__box { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.ays-field--consent.is-dark .ays-check a { color: var(--ays-sky); }
.ays-qk--bar .ays-form__status { background: rgba(255, 255, 255, .08); color: #fff; }
.ays-qk--bar .ays-form__status.is-error { background: rgba(220, 38, 38, .18); color: #fecaca; }
.ays-qk--bar .ays-form__success { padding: 18px 8px; color: #fff; }
.ays-qk--bar .ays-form__success-title { color: #fff; }
.ays-qk--bar .ays-form__success-text { color: var(--ays-on-dark-2); margin-bottom: 16px; }
.ays-qk--bar .ays-form__success-icon { width: 60px; height: 60px; margin-bottom: 12px; }
.ays-qk--bar .ays-form__success-ring, .ays-qk--bar .ays-form__success-tick { stroke: #4ade80; }
.ays-qk--bar .ays-form__success-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.ays-qk--bar [data-form-reset] { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }

@media (min-width: 900px) {
	.ays-qk--bar .ays-qk__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: start; }
	.ays-qk--bar .ays-form__submit { width: auto; }
}
@media (min-width: 600px) and (max-width: 899px) {
	.ays-qk--bar .ays-qk__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------
 * İletişim formu
 * ------------------------------------------------------------- */
.ays-cf__title { margin: 0 0 20px; font-size: var(--ays-fs-h3); letter-spacing: -.025em; }
.ays-cf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.ays-cf__note { display: inline-flex; align-items: center; gap: 8px; color: var(--ays-muted); font-size: 14px; font-weight: 500; }
.ays-cf__note .ays-icon { width: 17px; height: 17px; color: var(--ays-blue); }

/* Koyu bölüm içinde (ör. .ays-section--dark) beyaz kart görünümü korunur. */
.ays-section--dark .ays-cf, .ays-section--navy .ays-cf { color: var(--ays-text); }

/* Modal içi */
.ays-modal .ays-qk .ays-input { min-height: 52px; }
.ays-modal .ays-form__success-actions .ays-btn { max-width: 100%; }

/* ---------------------------------------------------------------
 * Duyarlı
 * ------------------------------------------------------------- */
@media (max-width: 1080px) {
	.ays-wizard__grid { grid-template-columns: minmax(0, 1fr); }
	.ays-summary { border-left: 0; border-top: 1px solid var(--ays-line); }
	.ays-summary__card { position: relative; top: auto; }
	.ays-trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ays-form__row { grid-template-columns: minmax(0, 1fr); }
	.ays-qf { --qf-pad: 18px; border-radius: var(--ays-radius-lg); }
	.ays-steps__btn { flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; }
	.ays-steps__label { max-width: 100%; }
	.ays-chipcards { grid-template-columns: minmax(0, 1fr); max-height: 380px; }
	.ays-chipcard { min-height: 60px; }
	.ays-trust-list { grid-template-columns: minmax(0, 1fr); }
	.ays-step__nav { flex-wrap: nowrap; }
	.ays-step__note { display: none; }
	.ays-step__nav .ays-btn { flex: 1; justify-content: center; }
	.ays-step__nav [data-prev] { flex: 0 0 auto; }
	.ays-step__nav--submit .ays-form__submit { padding-left: 18px; padding-right: 18px; }
	.ays-form__wa-hint { justify-content: flex-start; }
	.ays-pill__txt { min-height: 42px; padding: 9px 15px; font-size: 14px; }
	.ays-cf__actions .ays-btn { width: 100%; justify-content: center; }
	.ays-qk--sidebar { position: relative; top: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.ays-step.is-enter-fwd, .ays-step.is-enter-back, .ays-field.is-invalid,
	.ays-summary__chip, .ays-form__success.is-in *,
	.ays-form.is-busy .ays-form__submit .ays-btn__icon { animation: none !important; }
	.ays-form__success-ring, .ays-form__success-tick { stroke-dashoffset: 0; }
	.ays-progress__bar, .ays-chipcard, .ays-pill__txt, .ays-input { transition: none; }
}

/* ===== Sadeleştirilmiş görünüm: düz metin seçenekler, özet paneli yok ===== */
.ays-wizard__grid { grid-template-columns: minmax(0, 1fr) !important; }
.ays-summary { display: none !important; }
.ays-chipcards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; overflow: visible; gap: 8px; }
.ays-chipcard { min-height: 0; padding: 11px 40px 11px 14px; border-width: 1px; border-radius: 12px; }
.ays-chipcard:hover { transform: none; box-shadow: none; }
.ays-chipcard__body { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.ays-chipcard__code { font-size: 14px; }
.ays-chipcard__name { margin-top: 0; font-size: 13px; -webkit-line-clamp: 1; }
.ays-chipcard--unsure { margin-top: 10px; }
@media (max-width: 767px) { .ays-chipcards { grid-template-columns: minmax(0, 1fr); } }
