/* =========================================================
   Randevu Al sayfası — Figma tasarımına göre
   ========================================================= */

.page-appt {
	background: var(--color-bg);
	padding-block: 48px 96px;
}

.appt-wrap {
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

/* ---------- HERO ---------- */
.appt-hero {
	text-align: center;
	margin-bottom: 34px;
}

.appt-hero__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.32em;
	color: var(--color-gold);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.appt-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(32px, 4.6vw, 50px);
	font-weight: 500;
	line-height: 1.12;
	color: var(--color-heading);
	margin-bottom: 14px;
}

.appt-hero__subtitle {
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-text);
	max-width: 620px;
	margin: 0 auto 22px;
}

.appt-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.appt-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 500;
	color: var(--color-navy);
	background: #eef1f6;
	border-radius: 999px;
	padding: 7px 15px;
}

.appt-trust__item svg {
	color: var(--color-gold);
	flex-shrink: 0;
}

/* ---------- ADIM GÖSTERGESİ ---------- */
.appt-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 34px;
	flex-wrap: wrap;
}

.appt-step {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-muted);
}

.appt-step:not(:last-child)::after {
	content: "";
	width: clamp(40px, 12vw, 150px);
	height: 1px;
	background: var(--color-border);
	margin: 0 16px;
}

.appt-step__num {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #eef1f6;
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease;
}

.appt-step.is-active .appt-step__num,
.appt-step.is-done .appt-step__num {
	background: var(--color-navy);
	color: #fff;
}

.appt-step.is-active,
.appt-step.is-done {
	color: var(--color-navy);
}

/* ---------- YERLEŞİM ---------- */
.appt-layout {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 26px;
	align-items: start;
}

/* ---------- FORM KARTI ---------- */
.appt-form {
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 18px;
	padding: 30px 30px 34px;
	box-shadow: 0 20px 50px -34px rgba(11, 31, 68, 0.35);
}

.appt-block {
	margin-bottom: 28px;
}

.appt-block:last-child {
	margin-bottom: 0;
}

.appt-block__title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--color-navy);
	margin-bottom: 16px;
}

/* Seçim pill'leri */
.appt-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.appt-choice {
	appearance: none;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-navy);
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.appt-choice:hover {
	border-color: var(--color-navy);
}

.appt-choice.is-selected {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: #fff;
}

.appt-choices--slots {
	margin-top: 12px;
}

.appt-choice--slot {
	padding: 10px 18px;
	min-width: 78px;
	text-align: center;
}

/* Tarih girişi */
.appt-datewrap {
	position: relative;
	display: flex;
	align-items: center;
}

.appt-datewrap__ico {
	position: absolute;
	left: 14px;
	color: var(--color-muted);
	pointer-events: none;
}

.appt-date {
	width: 100%;
	height: 48px;
	padding: 0 14px 0 42px;
	border: 1px solid var(--color-border);
	border-radius: 11px;
	background: var(--color-bg);
	font-size: 14.5px;
	color: var(--color-heading);
	outline: none;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.appt-date:focus {
	border-color: var(--color-navy);
	box-shadow: 0 0 0 3px rgba(11, 31, 68, 0.08);
}

/* Bilgi alanları */
.appt-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

.appt-field__label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--color-text);
	margin-bottom: 7px;
}

.appt-input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--color-border);
	border-radius: 11px;
	background: var(--color-bg);
	font-size: 14.5px;
	color: var(--color-heading);
	outline: none;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.appt-input::placeholder {
	color: var(--color-muted);
}

.appt-input:focus {
	border-color: var(--color-navy);
	box-shadow: 0 0 0 3px rgba(11, 31, 68, 0.08);
}

/* KVKK onayı */
.appt-kvkk {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 20px 0 18px;
	cursor: pointer;
	font-size: 14px;
	color: var(--color-text);
}

.appt-kvkk input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.appt-kvkk__box {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--color-bg);
	transition: background 0.16s ease, border-color 0.16s ease;
}

.appt-kvkk__box svg {
	opacity: 0;
	transition: opacity 0.16s ease;
}

.appt-kvkk input:checked + .appt-kvkk__box {
	background: var(--color-navy);
	border-color: var(--color-navy);
}

.appt-kvkk input:checked + .appt-kvkk__box svg {
	opacity: 1;
}

.appt-kvkk input:focus-visible + .appt-kvkk__box {
	box-shadow: 0 0 0 3px rgba(11, 31, 68, 0.15);
}

.appt-error {
	margin: 0 0 14px;
	font-size: 13.5px;
	font-weight: 500;
	color: #c0392b;
}

.appt-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--color-navy);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 16px 24px;
	font-size: 15.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}

.appt-submit:hover {
	background: var(--color-navy-deep);
	transform: translateY(-1px);
}

/* ---------- ÖZET KARTI ---------- */
.appt-summary {
	background: var(--color-navy);
	color: #fff;
	border-radius: 18px;
	padding: 30px 28px;
	position: sticky;
	top: 92px;
}

.appt-summary__title {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 22px;
}

.appt-summary__rows {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.appt-summary__row {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.appt-summary__label {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.5);
}

.appt-summary__value {
	font-size: 16px;
	font-weight: 600;
}

.appt-summary__pack {
	padding: 22px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.appt-summary__packttl {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 14px;
}

.appt-summary__list {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.appt-summary__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.4;
}

.appt-summary__list svg {
	color: var(--color-gold);
	flex-shrink: 0;
	margin-top: 1px;
}

.appt-summary__call {
	padding-top: 22px;
}

.appt-summary__calllabel {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 8px;
}

.appt-summary__phone {
	display: block;
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 16px;
}

.appt-summary__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	background: #1c3b70;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 20px;
	border-radius: 10px;
	transition: background 0.18s ease;
}

.appt-summary__wa:hover {
	background: #24488a;
}

/* ---------- DUYARLI ---------- */
@media (max-width: 900px) {
	.appt-layout {
		grid-template-columns: 1fr;
	}

	.appt-summary {
		position: static;
		order: -1;
	}
}

@media (max-width: 520px) {
	.appt-fields {
		grid-template-columns: 1fr;
	}

	.appt-form {
		padding: 24px 20px 28px;
	}

	.appt-step__label {
		display: none;
	}

	.appt-step:not(:last-child)::after {
		margin: 0 10px;
	}
}

/* ---------- İletişim formu kartı (CF7) ---------- */
.appt-formcard {
	max-width: 640px;
	margin: 8px auto 0;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 40px 80px -55px rgba(11, 31, 68, 0.5);
}

@media (max-width: 600px) {
	.appt-formcard {
		padding: 22px 18px;
	}
}
