/*
 * SEOSTİM formları: yalın taban stil. Renk ve ölçüler tema belirteçlerinden (`var(--seostim-*)`, tema
 * `assets/css/tokens.css`); tema yüklü değilse parantez içindeki Figma değerleri kullanılır.
 */
.sst-form-wrap, .sst-quote {
	--sst-heading: var(--seostim-text-heading, #14243d);
	--sst-body: var(--seostim-text-body, #4b5b73);
	--sst-muted: var(--seostim-text-muted, #6b778d);
	--sst-border: var(--seostim-border-default, #e3e8ef);
	--sst-page: var(--seostim-bg-page, #f5f7fb);
	--sst-primary: var(--seostim-brand-blue, #167bbb);
	--sst-accent: var(--seostim-accent-orange-strong, #c2410c);
	--sst-error: var(--seostim-status-danger, #c03a3a);
	--sst-success: var(--seostim-status-success, #13805a);
	--sst-radius: var(--seostim-radius-card, 10px);
	color: var(--sst-body);
}
/* Görünmeyen etiketler temaya bağlı kalmasın. */
.sst-form-wrap .screen-reader-text, .sst-quote .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sst-js-only { display: none !important; }
.sst-js .sst-js-only { display: revert !important; }
.sst-js .sst-quote__nav.sst-js-only, .sst-js .sst-quote__progress.sst-js-only { display: flex !important; }
.sst-js .sst-quote__summary.sst-js-only { display: block !important; }
.sst-form [hidden], .sst-quote [hidden] { display: none !important; }

.sst-form { display: grid; gap: 16px; }
.sst-form__grid, .sst-quote__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.sst-field { display: grid; gap: 6px; margin: 0; }
.sst-field label, .sst-quote__q { color: var(--sst-heading); font-weight: 500; margin: 0; }
.sst-field input, .sst-field textarea, .sst-field select {
	width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid var(--sst-border);
	border-radius: 6px; font: inherit; color: var(--sst-heading); background: #fff;
}
.sst-field textarea { min-height: 110px; }
.sst-field input:focus-visible, .sst-field textarea:focus-visible, .sst-field select:focus-visible { outline: 2px solid var(--sst-primary); outline-offset: 1px; }
.sst-field [aria-invalid="true"], .sst-chips[aria-invalid="true"] { border-color: var(--sst-error); }
.sst-form__error { display: block; color: var(--sst-error); font-size: 14px; line-height: 20px; margin: 4px 0 0; }
.sst-form__hint, .sst-quote__hint { color: var(--sst-muted); font-size: 14px; margin: 0; }
.sst-form__notice { padding: 12px 16px; border-radius: 6px; margin: 0 0 16px; border: 1px solid var(--sst-border); }
.sst-form__notice--error { border-color: var(--sst-error); color: var(--sst-error); }
.sst-form__notice--success { border-color: var(--sst-success); color: var(--sst-success); }
.sst-check label { display: flex; gap: 10px; align-items: flex-start; }
.sst-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.sst-legal-placeholder { font-size: 13px; color: var(--sst-muted); border: 1px dashed var(--sst-border); padding: 6px 10px; border-radius: 6px; }
.sst-check--kvkk .sst-legal-placeholder, .sst-quote__kvkk .sst-legal-placeholder { font-size: inherit; color: inherit; border: 0; padding: 0; border-radius: 0; }

.sst-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.sst-button--primary { background: var(--sst-primary); color: #fff; }
.sst-button--accent { background: var(--sst-accent); color: #fff; }
.sst-button--outline { background: #fff; color: var(--sst-accent); border-color: var(--sst-accent); }
.sst-button[aria-disabled="true"] { opacity: .7; cursor: progress; }
.sst-link { background: none; border: 0; padding: 0; color: var(--sst-primary); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.sst-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sst-chip { position: relative; }
.sst-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sst-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--sst-border); border-radius: 999px; background: #fff; color: var(--sst-body); }
.sst-chip input:checked + span { background: var(--sst-heading); border-color: var(--sst-heading); color: #fff; }
.sst-chip input:focus-visible + span { outline: 2px solid var(--sst-primary); outline-offset: 2px; }

.sst-quote { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .sst-quote { grid-template-columns: minmax(0, 856px) minmax(0, 440px); } }
.sst-quote__card { background: #fff; border-radius: 34px; padding: clamp(20px, 4vw, 48px); }
.sst-quote__eyebrow { color: var(--sst-accent); text-transform: uppercase; margin: 0 0 8px; }
.sst-quote__title { color: var(--sst-heading); margin: 0 0 8px; }
.sst-quote__lead { color: var(--sst-muted); margin: 0 0 24px; }
.sst-quote__progress { list-style: none; margin: 0 0 24px; padding: 0; gap: 8px; }
.sst-quote__progress-item { flex: 1; border-top: 4px solid var(--sst-border); padding-top: 12px; color: var(--sst-muted); font-size: 14px; }
.sst-quote__progress-item.is-active, .sst-quote__progress-item.is-done { border-color: var(--sst-primary); }
.sst-quote__progress-item.is-active { color: var(--sst-heading); font-weight: 600; }
.sst-quote__step { border: 0; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; min-width: 0; }
.sst-quote__services { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sst-quote__service { position: relative; display: flex; align-items: flex-end; min-height: 96px; padding: 16px; border: 1px solid var(--sst-border); border-radius: var(--sst-radius); cursor: pointer; color: var(--sst-heading); }
.sst-quote__service input { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; }
.sst-quote__service:has(input:checked) { border-color: var(--sst-primary); background: #eaf4fb; }
.sst-quote__sub, .sst-quote__summary { background: var(--sst-page); border-radius: var(--sst-radius); padding: 20px; display: grid; gap: 12px; }
.sst-quote__group { border: 1px solid var(--sst-border); border-radius: var(--sst-radius); padding: 24px; display: grid; gap: 16px; }
.sst-quote__group-title { color: var(--sst-heading); margin: 0; font-size: 20px; }
.sst-quote__question { display: grid; gap: 8px; }
.sst-quote__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: end; }
.sst-quote__files { border: 1px dashed var(--sst-border); border-radius: var(--sst-radius); padding: 20px; text-align: center; background: var(--sst-page); display: grid; gap: 8px; }
.sst-quote__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sst-quote__summary-head { display: flex; justify-content: space-between; align-items: center; }
.sst-quote__summary-title { margin: 0; color: var(--sst-heading); font-weight: 600; }
.sst-quote__summary dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; }
.sst-quote__summary dt { color: var(--sst-muted); }
.sst-quote__summary dd { margin: 0; color: var(--sst-heading); }
.sst-quote__panel { background: var(--sst-heading); color: #c9d2e0; border-radius: 34px; padding: 40px 36px; }
.sst-quote__panel-title { color: #f59e0b; margin: 0 0 16px; }
.sst-quote__process { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 16px; }
.sst-quote__process strong { display: block; color: #fff; }
.sst-quote__panel a { color: #fcd9a8; }
.sst-quote__panel-phone a { color: #fff; font-size: 20px; font-weight: 600; text-decoration: none; }
.sst-quote--thanks { grid-template-columns: minmax(0, 900px); justify-content: center; }
.sst-quote__card--thanks { text-align: center; }
.sst-quote__check { width: 88px; height: 88px; line-height: 88px; margin: 0 auto 16px; border-radius: 50%; background: #e7f6ee; color: var(--sst-success); font-size: 40px; }
.sst-quote__timeline { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: left; counter-reset: sst; }
.sst-quote__timeline li { background: var(--sst-page); border-radius: var(--sst-radius); padding: 20px; counter-increment: sst; }
.sst-quote__timeline li::before { content: counter(sst); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sst-heading); color: #fff; margin-bottom: 12px; }
.sst-quote__timeline strong { display: block; color: var(--sst-heading); }
.sst-quote__speed { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sst-quote__hosting { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--sst-heading); color: #fcd9a8; border-radius: var(--sst-radius); padding: 24px; }
.sst-quote__hosting-title { color: #fff; font-weight: 600; margin: 0 0 4px; }
.sst-newsletter__form { grid-template-columns: 1fr auto; align-items: center; }
.sst-newsletter__form .sst-form__error, .sst-newsletter__form .sst-newsletter__consent { grid-column: 1 / -1; }
.sst-newsletter__form input[type="email"] { min-height: 44px; padding: 8px 14px; border: 1px solid var(--sst-border); border-radius: 6px; }

/*
 * İletişim formu (Figma 2060:12102) ve SEO formu (2007:25145): alan adı alanın içinde yer tutucu, etiket ekran
 * okuyucuya kalır. Alan: beyaz, lacivert 1px kenarlık, köşe 2 (SEO 6), Inter 15/27, yer tutucu x21. Düğme: hap
 * (SEO köşe 6), dolgu 7/7/7/31, boşluk 30, DM Sans 900 15/22, 45 px beyaz daire ok kutusu. KVKK satırı: 20 px onay
 * kutusu, boşluk 10, Inter 15/26; iletişimde masaüstünde düğmenin sağında (28 px), dar ekranda alt alta.
 */
.sst-contact .sst-form { gap: 17px; }
.sst-contact .sst-form__grid { gap: 17px 24px; }
.sst-contact .sst-field, .sst-seo .sst-field { gap: 0; }
.sst-contact .sst-field input, .sst-contact .sst-field textarea, .sst-seo .sst-field input {
	display: block; width: 100%; box-sizing: border-box; min-height: 51px; margin: 0; padding: 11px 21px;
	border: 1px solid var(--seostim-brand-navy, #14243d); border-radius: var(--seostim-radius-input, 2px); box-shadow: none;
	background: var(--seostim-bg-white, #fff); color: var(--seostim-text-heading, #14243d);
	font-family: var(--seostim-font-ui, inherit); font-size: 15px; font-weight: 400; line-height: 27px;
}
.sst-contact .sst-field textarea { height: 140px; min-height: 140px; padding-top: 13px; resize: vertical; }
.sst-contact .sst-field input::placeholder, .sst-contact .sst-field textarea::placeholder, .sst-seo .sst-field input::placeholder { color: var(--seostim-text-body, #4b5b73); opacity: 1; }
.sst-contact .sst-field input:focus, .sst-contact .sst-field textarea:focus, .sst-seo .sst-field input:focus { border-color: var(--seostim-brand-blue, #167bbb); }
.sst-contact .sst-field input:focus-visible, .sst-contact .sst-field textarea:focus-visible, .sst-seo .sst-field input:focus-visible { outline: 2px solid var(--seostim-brand-blue, #167bbb); outline-offset: 1px; }
.sst-contact .sst-field [aria-invalid="true"], .sst-seo .sst-field [aria-invalid="true"] { border-color: var(--sst-error); box-shadow: inset 0 0 0 1px var(--sst-error); }

.sst-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 8px 0 0; }
.sst-form__actions .sst-check { flex: 1 1 260px; min-width: 0; }

.sst-form .sst-button--ok {
	min-height: 59px; padding: 7px 7px 7px 31px; gap: 30px; border: 0; border-radius: var(--seostim-radius-pill, 999px);
	background: var(--seostim-brand-blue, #167bbb); color: var(--seostim-text-on-dark, #fff);
	font-family: var(--seostim-font-body, inherit); font-size: 15px; font-weight: 900; line-height: 22px; text-transform: none; letter-spacing: 0;
	transition: background-color var(--seostim-transition, .15s ease);
}
.sst-form .sst-button--ok:hover, .sst-form .sst-button--ok:focus { background: var(--seostim-brand-navy, #14243d); color: var(--seostim-text-on-dark, #fff); border: 0; }
.sst-form .sst-button--ok:focus-visible { outline: 2px solid var(--seostim-brand-blue, #167bbb); outline-offset: 2px; }
.sst-button__ok { flex: none; display: inline-grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--seostim-bg-white, #fff); color: var(--seostim-brand-blue, #167bbb); }
.sst-button__ok svg { display: block; width: 45px; height: 45px; max-width: none; }

.sst-check--kvkk { margin: 0; }
.sst-check--kvkk label { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-family: var(--seostim-font-ui, inherit); font-size: 15px; font-weight: 400; line-height: 26px; color: var(--seostim-text-body, #4b5b73); }
.sst-check--kvkk input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--seostim-brand-blue, #167bbb); cursor: pointer; }
.sst-check--kvkk .sst-check__text { min-width: 0; overflow-wrap: anywhere; }
.sst-check--kvkk a { color: var(--seostim-brand-blue, #167bbb); text-decoration: underline; text-underline-offset: 3px; }
.sst-check--kvkk .sst-form__error { padding-left: 30px; }

/* SEO formu: iki alan + düğme tek satırda (312 / 11 / 312 / 11 / 178), KVKK satırı altta; metin rengi bölümden. */
.sst-seo { color: inherit; }
.sst-seo .sst-form { gap: 20px; }
.sst-seo__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 11px; align-items: start; }
.sst-seo .sst-field input { min-height: 59px; padding: 15px 32px; border-radius: var(--seostim-radius-button, 6px); }
.sst-seo .sst-button--ok { border-radius: var(--seostim-radius-button, 6px); }
/* Lacivert bantta lacivert üzerine gelme kaybolur: ters renk. */
.sst-form.sst-seo__form .sst-button--ok:hover, .sst-form.sst-seo__form .sst-button--ok:focus { background: var(--seostim-bg-white, #fff); color: var(--seostim-brand-blue, #167bbb); }
.sst-seo__form .sst-button--ok:hover .sst-button__ok, .sst-seo__form .sst-button--ok:focus .sst-button__ok { background: var(--seostim-brand-blue, #167bbb); color: var(--seostim-bg-white, #fff); }
.sst-seo .sst-check--kvkk label, .sst-seo .sst-check--kvkk a, .sst-seo .sst-legal-placeholder { color: inherit; }
/* Koyu bantta da okunsun: hata iletisi ve bildirim açık zemin üstünde. */
.sst-seo .sst-form__error { justify-self: start; width: fit-content; padding: 2px 8px; border-radius: var(--seostim-radius-input, 2px); background: var(--seostim-status-danger-bg, #fdecec); }
.sst-seo .sst-check--kvkk .sst-form__error { margin-left: 30px; }
.sst-seo .sst-form__notice { background: var(--seostim-bg-white, #fff); }

@media (max-width: 767px) {
	.sst-form__actions { flex-direction: column; align-items: flex-start; }
	.sst-form__actions .sst-check { flex: none; width: 100%; }
	.sst-seo__row { grid-template-columns: minmax(0, 1fr); }
	.sst-seo__row .sst-button { justify-self: start; }
}
