/* ==========================================================================
   AYA OSGB · Hizmet sayfaları
   Bölümler: üst bölüm · hızlı bilgi kartı · öne çıkanlar · içindekiler
             · yerleşim · süreç · kenar çubuğu · ilgili hizmetler · arşiv
   ========================================================================== */

/* Üst bölüm: hizmet görseli, başlık ve teklif formu -------------------------- */

.service-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ink-900);
	color: var(--white);
}

.service-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--brand-gradient);
}

.service-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Kurumsal mavi degrade: solda okunurluk, sağda görsel görünür */
.service-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(16, 58, 95, 0.94) 0%, rgba(37, 106, 170, 0.84) 48%, rgba(55, 133, 191, 0.5) 100%);
}

/* Form sağ sütunda breadcrumb hizasından başlar; başlık ve boşluklar ekran yüksekliğine göre küçülür. */
.service-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
	grid-template-rows: auto 1fr;
	gap: 20px clamp(40px, 6vw, 96px);
	align-items: start;
	padding-block: clamp(16px, 2.4vh, 28px) clamp(20px, 4vh, 64px);
}

.service-hero__crumbs {
	grid-column: 1;
	grid-row: 1;
}

.service-hero__content {
	grid-column: 1;
	grid-row: 2;
	align-self: center;
}

.service-hero__form {
	grid-column: 2;
	grid-row: 1 / span 2;
}

/* Masaüstünde hero ekranın kalan yüksekliğini doldurur ve ekranın alt kenarında biter. */
@media (min-width: 1100px) {
	.service-hero {
		display: flex;
		flex-direction: column;
		min-height: calc(100vh - var(--hero-offset));
	}

	.service-hero__inner {
		flex: 1 0 auto;
	}

	.service-hero__form {
		align-self: center;
	}
}

.service-hero__title {
	font-size: clamp(2rem, min(3.6vw, 6vh), 3.5rem);
	font-weight: 780;
	font-stretch: 116%;
	line-height: 1;
	letter-spacing: -0.028em;
	text-wrap: balance;
}

.service-hero__lead {
	max-width: 56ch;
	margin-top: clamp(14px, 2.2vh, 22px);
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(1rem, 1.15vw, 1.125rem);
	line-height: 1.6;
}

.service-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(20px, 3vh, 30px);
}

/* Öne çıkan maddeler şeridi */

.service-facts {
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.fact-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block: 0;
	list-style: none;
}

.fact {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 24px 28px 26px 0;
}

.fact + .fact {
	padding-left: 28px;
	border-left: 1px solid var(--line);
}

.fact__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: var(--radius-sm);
	background: var(--blue-100);
	color: var(--blue-600);
}

.fact__icon .icon {
	width: 22px;
	height: 22px;
}

.fact__body {
	padding-top: 1px;
}

.fact__title {
	display: block;
	color: var(--text);
	font-weight: 700;
	font-stretch: 106%;
	line-height: 1.3;
}

.fact__text {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Hızlı bilgi kartı (kenar çubuğu) */

.spec-sheet {
	overflow: hidden;
	padding: 0;
}

.spec-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.spec-sheet__title {
	font-size: 1rem;
	font-weight: 700;
}

.spec-sheet__list {
	margin: 0;
}

.spec-sheet__row {
	display: grid;
	gap: 2px;
	padding: 12px 20px;
	border-bottom: 1px dashed var(--line);
}

.spec-sheet__row:last-child {
	border-bottom: 0;
}

.spec-sheet__row dt {
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
}

.spec-sheet__row dd {
	margin: 0;
	color: var(--text);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 999.98px) {
	.service-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.service-hero__crumbs,
	.service-hero__content,
	.service-hero__form {
		grid-column: auto;
		grid-row: auto;
	}

	.service-hero__form {
		max-width: 560px;
	}

	.fact-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.fact,
	.fact + .fact {
		padding: 18px 0;
		border-left: 0;
	}

	.fact + .fact {
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 599.98px) {
	.service-hero__actions .btn {
		flex: 1 1 100%;
	}
}

/* Yerleşim --------------------------------------------------------------- */

.service-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 372px;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
	padding-block: clamp(48px, 6vw, 88px) clamp(72px, 8vw, 112px);
}

.service-main {
	min-width: 0;
}

.service-section {
	margin-top: clamp(56px, 7vw, 88px);
	padding-top: clamp(40px, 5vw, 56px);
	border-top: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 80px);
}

.service-section__title {
	max-width: 24ch;
	margin-bottom: 28px;
	font-size: clamp(1.6rem, 2.8vw, 2.25rem);
	font-weight: 740;
	font-stretch: 112%;
	line-height: 1.1;
}

@media (max-width: 1099.98px) {
	.service-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Süreç ------------------------------------------------------------------ */

.steps__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	position: relative;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 22px;
	padding-bottom: 30px;
}

.step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 64px;
	bottom: 6px;
	left: 28px;
	width: 2px;
	background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px);
}

.step__num {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
	color: var(--navy-700);
	font-size: 1rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.step:first-child .step__num {
	border-color: var(--blue-600);
	background: var(--blue-600);
	color: var(--white);
}

.step__title {
	margin-top: 8px;
	font-size: 1.2rem;
	font-weight: 700;
	font-stretch: 106%;
}

.step__text {
	margin-top: 6px;
	color: var(--muted);
	line-height: 1.6;
}

/* Kenar çubuğu ----------------------------------------------------------- */

/* Hızlı bilgi · yapışkan alan (içindekiler + iletişim) · gruptaki hizmetler */
.service-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-self: stretch;
}


.aside-phones {
	display: grid;
	gap: 2px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.aside-phones a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--line);
	color: var(--text);
	text-decoration: none;
}

.aside-phones small {
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 500;
}

.aside-phones strong {
	font-weight: 680;
	font-stretch: 106%;
	white-space: nowrap;
}

.aside-phones a:hover strong {
	color: var(--blue-600);
}

.aside-wa {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.aside-services {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aside-services a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 12px;
	border-radius: var(--radius-sm);
	color: var(--text-2);
	font-size: 0.9375rem;
	font-weight: 540;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.aside-services .icon {
	width: 16px;
	height: 16px;
	opacity: 0;
	transform: translateX(-4px);
	transition: 0.25s var(--ease-out);
}

.aside-services a:hover {
	background: var(--paper);
	color: var(--text);
}

.aside-services a:hover .icon {
	opacity: 1;
	transform: none;
}

.aside-services .is-current a {
	background: var(--ink-900);
	color: var(--white);
	font-weight: 640;
}

.aside-services .is-current .icon {
	opacity: 1;
	transform: none;
	color: var(--blue-300);
}

@media (max-width: 1099.98px) {
	.service-aside {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

@media (max-width: 767.98px) {
	.service-aside {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* İlgili hizmetler ------------------------------------------------------- */

.related {
	border-top: 1px solid var(--line);
	background: var(--paper);
}

.related .service-grid {
	margin-top: clamp(32px, 4vw, 48px);
}

/* Hizmet arşivi ---------------------------------------------------------- */

.archive-group + .archive-group {
	border-top: 1px solid var(--line);
}

.archive-group:nth-child(even) {
	background: var(--paper);
}

.archive-group__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
}

.archive-group__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 750;
	font-stretch: 114%;
}

.archive-group__lead {
	max-width: 60ch;
	margin-top: 8px;
	color: var(--muted);
}

.archive-group__count {
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 500;
}

.archive-group .service-grid {
	margin-top: 36px;
}

@media (max-width: 639.98px) {
	.archive-group__head {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.archive-group__count {
		display: none;
		font-size: 0.875rem;
		font-weight: 500;
	}
}
