/* =================================================================
   Havalı Yatak — Ana Stil Sayfası
   Design Tokens · Layout · Components · Responsive
   ================================================================= */

:root {
	--navy:        #0A2540;
	--navy-2:      #133A68;
	--navy-ink:    #06172A;
	--cyan:        #00A3B4;
	--cyan-soft:   #6FD7E3;
	--cyan-tint:   #E5F7F9;
	--gray:        #F4F6F8;
	--gray-2:      #EEF1F5;
	--border:      #E5E9EF;
	--text:        #0E1A2B;
	--muted:       #6B7A8F;
	--success:     #16A34A;
	--white:       #FFFFFF;

	--font-h: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--r-sm: 6px;
	--r-md: 10px;
	--r-lg: 16px;
	--r-xl: 24px;

	--shadow-sm: 0 1px 2px rgba(10,37,64,0.06);
	--shadow-md: 0 4px 16px rgba(10,37,64,0.08);
	--shadow-lg: 0 24px 48px -12px rgba(10,37,64,0.18);

	--container: 1200px;
	--header-h: 80px;
	--section-y: clamp(56px, 8vw, 112px);

	--transition: 180ms ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-b);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-radius: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-h);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

ul, ol { padding-left: 1.25em; }
hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

::selection { background: var(--cyan); color: var(--white); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }

/* ---------- Skip link ---------- */
.hy-skip {
	position: absolute; top: -40px; left: 0;
	background: var(--navy); color: var(--white);
	padding: 10px 16px; z-index: 100;
	font-family: var(--font-h); font-weight: 600;
	border-radius: 0 0 var(--r-sm) 0;
}
.hy-skip:focus { top: 0; color: var(--white); }
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%);
	width: 1px; height: 1px;
	overflow: hidden; white-space: nowrap;
}

/* ---------- Layout ---------- */
.hy-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .hy-container { padding: 0 32px; } }

.hy-section { padding: var(--section-y) 0; }

.hy-section-head { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.hy-section-head p { color: var(--muted); font-size: 17px; }
.hy-section-cta { text-align: center; margin-top: 40px; }

.hy-kicker {
	display: inline-block;
	font-family: var(--font-h);
	font-size: 12px;
	font-weight: 700;
	color: var(--cyan);
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

/* ---------- Header ---------- */
.hy-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,0.92);
	backdrop-filter: saturate(140%) blur(8px);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow var(--transition), background var(--transition);
}
.hy-header.is-scrolled {
	background: rgba(255,255,255,0.98);
	box-shadow: 0 2px 12px rgba(10,37,64,0.06);
}
.hy-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	min-height: var(--header-h); gap: 24px;
}
.hy-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.hy-brand img, .hy-brand svg { height: 44px; width: auto; }
.custom-logo-link img { height: 44px; width: auto; }

.hy-nav { display: flex; flex: 1; justify-content: center; }
.hy-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 4px; align-items: center;
}
.hy-menu > li { position: relative; }
.hy-menu > li > a {
	display: inline-flex; align-items: center;
	padding: 10px 14px;
	font-family: var(--font-h);
	font-weight: 600; font-size: 14.5px;
	color: var(--navy);
	border-radius: var(--r-sm);
}
.hy-menu > li > a:hover,
.hy-menu .current-menu-item > a,
.hy-menu .current_page_item > a { color: var(--cyan); background: var(--gray); }

.hy-menu .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0;
	min-width: 240px; padding: 8px;
	background: var(--white);
	border: 1px solid var(--border); border-radius: var(--r-md);
	box-shadow: var(--shadow-lg);
	list-style: none; margin: 0;
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.hy-menu li:hover > .sub-menu,
.hy-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hy-menu .sub-menu a {
	display: block; padding: 10px 12px;
	font-family: var(--font-h); font-weight: 600; font-size: 14px;
	color: var(--navy); border-radius: var(--r-sm);
}
.hy-menu .sub-menu a:hover { background: var(--gray); color: var(--cyan); }

.hy-menu .menu-item-has-children > a::after {
	content: ''; display: inline-block;
	width: 8px; height: 8px; margin-left: 6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transform-origin: 60% 60%;
}

.hy-header-cta {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: var(--r-md);
	background: var(--cyan-tint); color: var(--navy);
	font-family: var(--font-h); font-weight: 700; font-size: 14px;
	flex-shrink: 0;
}
.hy-header-cta:hover { background: var(--cyan); color: var(--white); }

/* Mobile toggle */
.hy-nav-toggle {
	display: none; background: none; border: 0;
	width: 42px; height: 42px; padding: 0;
	cursor: pointer; border-radius: var(--r-sm);
	justify-content: center; align-items: center; flex-direction: column; gap: 5px;
}
.hy-nav-toggle span {
	display: block; width: 22px; height: 2px;
	background: var(--navy); border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}
.hy-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hy-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hy-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.hy-nav-toggle { display: inline-flex; }
	.hy-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0;
		background: var(--white); border-top: 1px solid var(--border);
		max-height: calc(100vh - var(--header-h));
		overflow: auto; padding: 16px 24px 32px;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	}
	.hy-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
	.hy-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.hy-menu > li > a { padding: 14px 12px; font-size: 16px; }
	.hy-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent;
	}
	.hy-menu .menu-item-has-children > a::after { display: none; }
	.hy-header-cta { display: none; }
}

/* ---------- Buttons ---------- */
.hy-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 22px;
	font-family: var(--font-h); font-weight: 700; font-size: 14.5px;
	letter-spacing: 0.2px;
	border-radius: var(--r-md); border: 1.5px solid transparent;
	cursor: pointer; transition: all var(--transition);
	text-decoration: none;
}
.hy-btn-primary { background: var(--cyan); color: var(--navy-ink); }
.hy-btn-primary:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.hy-btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.hy-btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.6); }

.hy-btn-outline { background: var(--white); color: var(--navy); border-color: var(--border); }
.hy-btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Hero ---------- */
.hy-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
	padding: clamp(96px, 12vw, 180px) 0;
	min-height: 640px;
	display: flex; align-items: center;
}
.hy-hero.has-media { background: var(--navy-ink); }

.hy-hero::before {
	content: ""; position: absolute;
	top: -20%; right: -15%; width: 680px; height: 680px;
	background: radial-gradient(circle, rgba(0,163,180,0.22) 0%, transparent 60%);
	pointer-events: none; z-index: 2;
}
.hy-hero.has-media::before { display: none; }

/* Görsel sadece sağ %62'de — sol %38 saf navy arkaplan (metin alanı) */
.hy-hero-media {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 62%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	filter: saturate(0.96);
}
.hy-hero-overlay {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 62%;
	background:
		linear-gradient(90deg,
			rgba(6,23,42,1) 0%,
			rgba(6,23,42,0.94) 18%,
			rgba(10,37,64,0.55) 42%,
			rgba(10,37,64,0.2) 70%,
			rgba(10,37,64,0.02) 100%),
		linear-gradient(180deg,
			rgba(6,23,42,0.25) 0%,
			rgba(6,23,42,0) 20%,
			rgba(6,23,42,0) 80%,
			rgba(6,23,42,0.35) 100%);
	z-index: 1;
}

/* Hero container — normalden daha geniş, metin ekran sol kenarına yakın */
.hy-hero > .hy-container {
	max-width: none;
	padding-left: clamp(24px, 5vw, 96px);
	padding-right: clamp(24px, 5vw, 96px);
}

/* SVG fallback (resim yokken) */
.hy-hero-bg {
	position: absolute; right: -40px; top: 50%;
	transform: translateY(-50%);
	width: 620px; max-width: 55%; opacity: 0.08;
	pointer-events: none; z-index: 0;
}
.hy-hero-bg svg rect:nth-child(odd) { fill: var(--cyan-soft); }
.hy-hero-bg svg rect:nth-child(even) { fill: var(--white); }

.hy-hero-inner {
	position: relative; z-index: 3;
	max-width: 560px;
	width: 100%;
}
.hy-hero h1 {
	color: var(--white);
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.06;
	text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hy-hero.has-media h1 { text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hy-hero h1 em { font-style: normal; color: var(--cyan-soft); }
.hy-hero-subtitle {
	font-size: 18px; opacity: 0.92;
	margin: 20px 0 36px; max-width: 520px;
	text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hy-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
	.hy-hero { min-height: 560px; }
	.hy-hero-media, .hy-hero-overlay {
		width: 100%;
	}
	.hy-hero-overlay {
		background: linear-gradient(180deg, rgba(6,23,42,0.88) 0%, rgba(10,37,64,0.78) 100%);
	}
	.hy-hero-media { object-position: 75% center; }
}

.hy-tag {
	display: inline-block;
	background: rgba(0,163,180,0.18);
	color: var(--cyan-soft);
	font-family: var(--font-h); font-weight: 700;
	font-size: 11.5px; letter-spacing: 3px;
	padding: 7px 14px;
	border-radius: 999px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

/* ---------- Trust bar ---------- */
.hy-trust {
	background: var(--gray);
	padding: 28px 0;
	border-bottom: 1px solid var(--border);
}
.hy-trust-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px 32px;
}
.hy-trust-item {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--font-h); font-weight: 600; font-size: 14px;
	color: var(--navy);
}
.hy-trust-item svg { color: var(--cyan); flex-shrink: 0; }

/* ---------- Cards (pillars) ---------- */
.hy-cards {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.hy-card {
	display: flex; flex-direction: column;
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	color: inherit;
}
.hy-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
	color: inherit;
}
.hy-card-icon {
	width: 48px; height: 48px; border-radius: var(--r-md);
	background: var(--cyan-tint); color: var(--cyan);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
}
.hy-card h3 { color: var(--navy); margin-bottom: 8px; }
.hy-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.hy-card-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--cyan); font-family: var(--font-h); font-weight: 700;
	font-size: 13.5px;
	letter-spacing: 0.3px;
}
.hy-card:hover .hy-card-link svg { transform: translateX(3px); }
.hy-card-link svg { transition: transform var(--transition); }

/* ---------- Info section (homepage long-form) ---------- */
.hy-info-section { background: var(--white); }

.hy-info-anchors {
	display: flex; flex-wrap: wrap; gap: 8px;
	justify-content: center; max-width: 860px;
	margin: 0 auto 80px;
}
.hy-info-anchors a {
	display: inline-flex; align-items: center;
	padding: 10px 18px;
	background: var(--gray); color: var(--navy);
	border-radius: 999px;
	font-family: var(--font-h); font-weight: 600; font-size: 13.5px;
	border: 1px solid transparent;
	transition: all var(--transition);
}
.hy-info-anchors a:hover {
	background: var(--cyan-tint); color: var(--cyan);
	border-color: var(--cyan);
}

.hy-info-article {
	max-width: 860px;
	margin: 0 auto;
	display: grid;
	gap: 88px;
}
.hy-info-topic {
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.hy-info-topic-head {
	display: flex; align-items: baseline; gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}
.hy-info-num {
	font-family: var(--font-h);
	font-weight: 800;
	font-size: 38px;
	color: var(--cyan);
	line-height: 1;
	letter-spacing: -0.03em;
	flex-shrink: 0;
}
.hy-info-topic-head h3 {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	margin: 0;
	color: var(--navy);
	letter-spacing: -0.015em;
}

.hy-info-topic-body {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text);
}
.hy-info-topic-body p { margin-bottom: 1em; }
.hy-info-topic-body strong { color: var(--navy); }

.hy-info-list {
	list-style: none;
	padding: 0;
	margin: 1em 0 1.25em;
	display: grid; gap: 10px;
}
.hy-info-list li {
	position: relative;
	padding: 10px 16px 10px 44px;
	background: var(--gray);
	border-radius: var(--r-md);
	font-size: 16px;
	line-height: 1.55;
}
.hy-info-list li::before {
	content: "";
	position: absolute;
	left: 16px; top: 18px;
	width: 10px; height: 10px;
	background: var(--cyan);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--cyan-tint);
}
.hy-info-list li strong { color: var(--navy); }

.hy-info-quote {
	margin: 1.5em 0;
	padding: 24px 32px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
	border-radius: var(--r-lg);
	border-left: 0;
	position: relative;
	overflow: hidden;
}
.hy-info-quote::before {
	content: "\201C";
	position: absolute;
	top: -16px; left: 16px;
	font-size: 120px; line-height: 1;
	color: var(--cyan);
	opacity: 0.25;
	font-family: Georgia, serif;
	pointer-events: none;
}
.hy-info-quote p {
	margin: 0;
	font-family: var(--font-h);
	font-size: 19px;
	font-weight: 600;
	font-style: normal;
	position: relative;
}

.hy-info-note {
	background: var(--cyan-tint);
	padding: 20px 24px;
	border-radius: var(--r-md);
	border-left: 4px solid var(--cyan);
	margin-top: 1.5em;
	font-size: 16px;
}
.hy-info-note strong { color: var(--navy); }

/* Compare (Pozisyon Veren vs A+B) */
.hy-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 1.5em 0;
}
@media (max-width: 640px) { .hy-compare { grid-template-columns: 1fr; } }
.hy-compare-item {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 28px;
	transition: transform var(--transition), box-shadow var(--transition);
}
.hy-compare-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hy-compare-item-alt {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
	border-color: var(--navy);
}
.hy-compare-item h4 {
	font-size: 18px;
	margin: 0 0 4px;
	color: var(--navy);
}
.hy-compare-item-alt h4 { color: var(--white); }
.hy-compare-sub {
	font-family: var(--font-h);
	font-size: 12px; font-weight: 700;
	letter-spacing: 2px; text-transform: uppercase;
	color: var(--cyan);
	margin: 0 0 16px;
}
.hy-compare-item-alt .hy-compare-sub { color: var(--cyan-soft); }
.hy-compare-item ul {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 10px;
}
.hy-compare-item li {
	padding-left: 22px;
	position: relative;
	font-size: 15px;
	line-height: 1.55;
}
.hy-compare-item li::before {
	content: "";
	position: absolute;
	left: 0; top: 9px;
	width: 12px; height: 2px;
	background: var(--cyan);
}
.hy-compare-item-alt li::before { background: var(--cyan-soft); }

/* ---------- Docs section (Şartname + Gerekçe) ---------- */
.hy-docs-section { background: var(--gray); }

.hy-doc-feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	max-width: 1040px;
	margin: 0 auto;
}
@media (max-width: 800px) { .hy-doc-feature-grid { grid-template-columns: 1fr; } }

.hy-doc-feature {
	display: flex; flex-direction: column;
	padding: 40px 36px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	color: inherit;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	position: relative;
	overflow: hidden;
}
.hy-doc-feature::after {
	content: "";
	position: absolute;
	top: -40%; right: -20%;
	width: 280px; height: 280px;
	background: radial-gradient(circle, var(--cyan-tint) 0%, transparent 70%);
	pointer-events: none; opacity: 0.7;
}
.hy-doc-feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--cyan);
	color: inherit;
}
.hy-doc-feature > * { position: relative; }
.hy-doc-feature-link {
	color: inherit;
	text-decoration: none;
	display: block;
}
.hy-doc-feature-link:hover { color: inherit; }

/* PDF indirme butonu (ikon + etiket hizalı, görünür kontrast) */
.hy-pdf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	white-space: nowrap;
}
.hy-pdf-btn svg { flex: 0 0 auto; display: inline-block; }
.hy-pdf-btn > span { display: inline-block; }

/* Primary varyant: cyan zemin + beyaz yazı/ikon (yüksek kontrast garantisi) */
.hy-pdf-btn.hy-btn-primary,
.hy-pdf-btn.hy-btn-primary:visited {
	background: var(--cyan);
	color: var(--white);
	border-color: var(--cyan);
}
.hy-pdf-btn.hy-btn-primary svg { stroke: var(--white); color: var(--white); }
.hy-pdf-btn.hy-btn-primary > span { color: var(--white); }
.hy-pdf-btn.hy-btn-primary:hover {
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}
.hy-pdf-btn.hy-btn-primary:hover svg { stroke: var(--white); }
.hy-pdf-btn.hy-btn-primary:hover > span { color: var(--white); }

/* Outline varyant: beyaz zemin + navy yazı/ikon */
.hy-pdf-btn.hy-btn-outline svg { stroke: var(--navy); color: var(--navy); }
.hy-pdf-btn.hy-btn-outline:hover svg { stroke: var(--cyan); color: var(--cyan); }

.hy-doc-feature-icon {
	width: 64px; height: 64px;
	border-radius: var(--r-md);
	background: var(--navy);
	color: var(--cyan-soft);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 24px;
}
.hy-doc-feature .hy-kicker {
	margin-bottom: 8px;
}
.hy-doc-feature h3 {
	font-size: 24px;
	margin: 0 0 12px;
}
.hy-doc-feature p {
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.6;
	margin: 0 0 20px;
}

.hy-doc-feature-subheading {
	font-family: var(--font-h);
	font-size: 15px;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: 0.2px;
	margin: 8px 0 10px;
	padding-top: 8px;
	border-top: 1px solid var(--border);
}

.hy-doc-list-heading {
	font-family: var(--font-h);
	font-size: 22px;
	font-weight: 700;
	color: var(--navy);
	margin: 40px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--cyan);
	letter-spacing: 0.2px;
}
.hy-doc-list-heading:first-child { margin-top: 0; }

.hy-doc-feature-list {
	list-style: none; padding: 0; margin: 0 0 16px;
	display: grid; gap: 8px;
}
.hy-doc-feature-list:last-of-type { margin-bottom: 24px; }
.hy-doc-feature-list li {
	padding: 12px 16px 12px 40px;
	background: var(--gray);
	border-radius: var(--r-sm);
	font-family: var(--font-h);
	font-weight: 600;
	font-size: 14px;
	color: var(--navy);
	position: relative;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	flex-wrap: wrap;
}
.hy-doc-feature-list li::before {
	content: "";
	position: absolute;
	left: 16px; top: 50%;
	transform: translateY(-50%);
	width: 14px; height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A3B4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}
.hy-doc-record-title {
	color: var(--navy);
	text-decoration: none;
	flex: 1 1 auto;
	min-width: 0;
}
.hy-doc-record-title:hover { color: var(--cyan); }

/* Listede satır içi küçük PDF butonu */
.hy-doc-feature-list .hy-pdf-btn {
	padding: 6px 12px;
	font-size: 12.5px;
	gap: 6px;
	flex: 0 0 auto;
}
.hy-doc-feature-list .hy-pdf-btn svg { width: 14px; height: 14px; }

.hy-doc-feature-cta {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: auto;
	color: var(--cyan);
	font-family: var(--font-h); font-weight: 700; font-size: 14.5px;
	letter-spacing: 0.2px;
}
.hy-doc-feature:hover .hy-doc-feature-cta svg { transform: translateX(4px); }
.hy-doc-feature-cta svg { transition: transform var(--transition); }

/* ---------- Intro ---------- */
.hy-intro { background: var(--gray); }
.hy-intro-grid {
	display: grid; grid-template-columns: 1fr 1.4fr;
	gap: 64px; align-items: center;
}
@media (max-width: 768px) { .hy-intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.hy-intro-body p { font-size: 16.5px; color: var(--text); }

/* ---------- Blog teaser & posts ---------- */
.hy-posts {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
}
.hy-post-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition);
}
.hy-post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hy-post-thumb { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--gray); }
.hy-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hy-post-card:hover .hy-post-thumb img { transform: scale(1.04); }
.hy-post-body { padding: 24px; }
.hy-post-meta {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-h); font-size: 12px;
	color: var(--muted); letter-spacing: 0.5px;
	margin-bottom: 10px; text-transform: uppercase; font-weight: 600;
}
.hy-post-meta .hy-dot { opacity: 0.6; }
.hy-post-body h2, .hy-post-body h3 { margin-bottom: 8px; }
.hy-post-body h2 a, .hy-post-body h3 a { color: var(--navy); }
.hy-post-body h2 a:hover, .hy-post-body h3 a:hover { color: var(--cyan); }
.hy-post-body p { color: var(--muted); font-size: 14.5px; }
.hy-post-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--cyan); font-family: var(--font-h); font-weight: 700; font-size: 13.5px;
	margin-top: 8px;
}

/* ---------- Page hero ---------- */
.hy-page-hero {
	background: var(--gray);
	padding: 56px 0 48px;
	border-bottom: 1px solid var(--border);
}
.hy-page-hero h1 { margin-bottom: 12px; }
.hy-page-hero .hy-page-lead { font-size: 18px; color: var(--muted); max-width: 720px; }

.hy-breadcrumbs {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--font-h); font-size: 13px; font-weight: 600;
	color: var(--muted); margin-bottom: 16px; flex-wrap: wrap;
}
.hy-breadcrumbs a { color: var(--muted); }
.hy-breadcrumbs a:hover { color: var(--cyan); }
.hy-breadcrumbs .hy-sep { opacity: 0.5; }
.hy-breadcrumbs [aria-current="page"] { color: var(--navy); }

.hy-post-feat { margin: 0; padding: 32px 0 0; }
.hy-post-feat img { border-radius: var(--r-lg); max-height: 520px; object-fit: cover; }

/* ---------- Prose (content) ---------- */
.hy-prose-wrap {
	display: grid; grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
}
.hy-prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.hy-prose h2 { font-size: 28px; margin-top: 2em; }
.hy-prose h3 { font-size: 22px; margin-top: 1.75em; }
.hy-prose p { margin-bottom: 1.25em; }
.hy-prose ul, .hy-prose ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.hy-prose li { margin-bottom: 0.4em; }
.hy-prose blockquote {
	margin: 1.5em 0; padding: 16px 24px;
	background: var(--gray); border-left: 4px solid var(--cyan);
	border-radius: var(--r-sm); font-style: italic; color: var(--text);
}
.hy-prose img { border-radius: var(--r-md); margin: 1.5em 0; }
.hy-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.hy-prose th, .hy-prose td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.hy-prose th { background: var(--gray); font-family: var(--font-h); font-weight: 700; color: var(--navy); }
.hy-prose code {
	font-family: 'IBM Plex Mono', Consolas, monospace;
	background: var(--gray); padding: 2px 6px; border-radius: 4px;
	font-size: 0.92em;
}
.hy-prose pre {
	background: var(--navy-ink); color: var(--white);
	padding: 20px; border-radius: var(--r-md); overflow-x: auto;
	font-family: 'IBM Plex Mono', Consolas, monospace; font-size: 14px;
}
.hy-prose a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hy-prose a:hover { color: var(--navy); }

/* ---------- Subpages (on parent page) ---------- */
.hy-subpages { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.hy-subpages h2 { margin-bottom: 24px; }
.hy-subpages ul { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hy-subpages li a {
	display: block; padding: 20px 24px;
	background: var(--gray); border: 1px solid transparent;
	border-radius: var(--r-md); color: var(--navy);
	transition: all var(--transition);
}
.hy-subpages li a:hover { border-color: var(--cyan); background: var(--white); transform: translateY(-2px); }
.hy-subpages li a strong { display: block; font-family: var(--font-h); font-size: 16px; margin-bottom: 4px; }
.hy-subpages li a span { display: block; color: var(--muted); font-size: 14px; }

/* ---------- Doc list (Şartname / Gerekçe archive) ---------- */
.hy-doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.hy-doc-item a {
	display: flex; align-items: center; gap: 20px;
	padding: 24px 28px;
	background: var(--white); border: 1px solid var(--border);
	border-radius: var(--r-lg);
	color: var(--navy);
	transition: all var(--transition);
}
.hy-doc-item a:hover {
	border-color: var(--cyan); box-shadow: var(--shadow-md); transform: translateY(-2px);
	color: var(--navy);
}
.hy-doc-icon {
	width: 52px; height: 52px; border-radius: var(--r-md);
	background: var(--cyan-tint); color: var(--cyan);
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.hy-doc-item h3 { margin: 0 0 4px; }
.hy-doc-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.hy-doc-item > a > div { flex: 1; }
.hy-doc-arrow { color: var(--muted); transition: transform var(--transition), color var(--transition); flex-shrink: 0; }
.hy-doc-item a:hover .hy-doc-arrow { color: var(--cyan); transform: translateX(4px); }

/* ---------- Doc single (Şartname/Gerekçe) ---------- */
.hy-doc-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); border-bottom: 0; }
.hy-doc-hero h1 { color: var(--white); }
.hy-doc-hero .hy-kicker { color: var(--cyan-soft); }
.hy-doc-hero .hy-breadcrumbs { color: rgba(255,255,255,0.65); }
.hy-doc-hero .hy-breadcrumbs a { color: rgba(255,255,255,0.75); }
.hy-doc-hero .hy-breadcrumbs a:hover { color: var(--cyan-soft); }
.hy-doc-hero .hy-breadcrumbs [aria-current="page"] { color: var(--white); }
.hy-doc-hero .hy-page-lead { color: rgba(255,255,255,0.85); }

.hy-doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .hy-doc-grid { grid-template-columns: 1fr; } }
.hy-doc-prose {
	background: var(--white); border: 1px solid var(--border);
	border-radius: var(--r-lg); padding: 40px clamp(24px, 4vw, 48px);
	box-shadow: var(--shadow-sm);
}
.hy-doc-utils {
	display: flex; gap: 12px; flex-wrap: wrap;
	margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
}

/* Şartname/Gerekçe uzun numaralı listesi için özel biçim */
.hy-doc-prose > ol {
	counter-reset: sartname-item;
	list-style: none;
	padding-left: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}
.hy-doc-prose > ol > li {
	counter-increment: sartname-item;
	position: relative;
	padding: 16px 20px 16px 64px;
	background: var(--gray);
	border-radius: var(--r-md);
	font-size: 16px;
	line-height: 1.65;
	border-left: 3px solid var(--cyan);
	margin-bottom: 0;
}
.hy-doc-prose > ol > li::before {
	content: counter(sartname-item, decimal-leading-zero);
	position: absolute;
	left: 16px; top: 16px;
	width: 36px;
	font-family: var(--font-h);
	font-weight: 800;
	font-size: 15px;
	color: var(--cyan);
	letter-spacing: 0.5px;
}
.hy-doc-prose > ol > li > ol {
	counter-reset: sub-item;
	list-style: none;
	padding-left: 0;
	margin: 12px 0 4px;
	display: grid;
	gap: 6px;
}
.hy-doc-prose > ol > li > ol > li {
	counter-increment: sub-item;
	position: relative;
	padding: 6px 12px 6px 36px;
	font-size: 15px;
	background: var(--white);
	border-radius: var(--r-sm);
}
.hy-doc-prose > ol > li > ol > li::before {
	content: counter(sub-item) ".";
	position: absolute;
	left: 12px; top: 6px;
	font-family: var(--font-h);
	font-weight: 700;
	color: var(--navy);
	font-size: 14px;
}
.hy-doc-prose > ul {
	margin: 1em 0 1.25em;
	padding-left: 0;
	list-style: none;
	display: grid; gap: 10px;
}
.hy-doc-prose > ul > li {
	padding: 12px 16px 12px 40px;
	background: var(--gray);
	border-radius: var(--r-md);
	position: relative;
}
.hy-doc-prose > ul > li::before {
	content: "";
	position: absolute;
	left: 16px; top: 20px;
	width: 10px; height: 10px;
	background: var(--cyan);
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--cyan-tint);
}
.hy-doc-prose > ul > li ul {
	list-style: disc;
	padding-left: 20px;
	margin: 8px 0 0;
}
.hy-doc-prose > ul > li ul li {
	margin-bottom: 4px;
	padding: 0; background: transparent;
}
.hy-doc-prose > ul > li ul li::before { display: none; }
.hy-doc-prose h3 {
	margin: 1.75em 0 0.5em;
	font-size: 20px;
	color: var(--navy);
}

.hy-doc-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .hy-doc-aside { position: static; } }
.hy-doc-box {
	background: var(--white); border: 1px solid var(--border);
	border-radius: var(--r-lg); padding: 24px;
}
.hy-doc-box h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 16px; }
.hy-doc-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hy-doc-box ul a {
	display: block; padding: 10px 12px; border-radius: var(--r-sm);
	color: var(--navy); font-family: var(--font-h); font-weight: 600; font-size: 14px;
	transition: background var(--transition);
}
.hy-doc-box ul a:hover { background: var(--gray); color: var(--cyan); }
.hy-doc-box-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); border: 0; }
.hy-doc-box-cta h3 { color: var(--cyan-soft); }
.hy-doc-box-cta p { color: rgba(255,255,255,0.85); font-size: 14.5px; margin-bottom: 16px; }
.hy-doc-box-cta .hy-btn-primary { width: 100%; }

/* ---------- Pagination ---------- */
.hy-pagination { margin-top: 48px; display: flex; justify-content: center; }
.hy-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.hy-pagination a, .hy-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	background: var(--white); border: 1px solid var(--border);
	border-radius: var(--r-sm);
	font-family: var(--font-h); font-weight: 600; font-size: 14px;
	color: var(--navy);
	transition: all var(--transition);
}
.hy-pagination a:hover { border-color: var(--cyan); color: var(--cyan); }
.hy-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- 404 ---------- */
.hy-404-inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 48px 0; }
.hy-404-inner .hy-kicker { font-size: 18px; letter-spacing: 8px; }
.hy-404-inner h1 { font-size: clamp(32px, 5vw, 48px); }
.hy-404-inner p { color: var(--muted); font-size: 17px; }
.hy-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 24px; }
.hy-404-search { margin-top: 24px; }

/* ---------- Search form ---------- */
.hy-search-form {
	display: flex; gap: 0; max-width: 520px; margin: 0 auto;
	border: 1px solid var(--border); border-radius: var(--r-md);
	background: var(--white); overflow: hidden;
	transition: border-color var(--transition);
}
.hy-search-form:focus-within { border-color: var(--cyan); }
.hy-search-form input {
	flex: 1; border: 0; padding: 14px 18px;
	font-family: var(--font-b); font-size: 15px; color: var(--text);
	background: transparent; outline: 0;
}
.hy-search-form button {
	border: 0; background: var(--navy); color: var(--white);
	padding: 0 20px; cursor: pointer; transition: background var(--transition);
	display: inline-flex; align-items: center; justify-content: center;
}
.hy-search-form button:hover { background: var(--cyan); }

/* ---------- Empty / muted ---------- */
.hy-empty { padding: 48px 24px; text-align: center; color: var(--muted); font-size: 16px; }
.hy-muted { color: var(--muted); }

/* ---------- Footer CTA ---------- */
.hy-footer-cta {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white); padding: 56px 0;
	position: relative; overflow: hidden;
}
.hy-footer-cta::before {
	content: ""; position: absolute; bottom: -60%; left: -10%;
	width: 540px; height: 540px;
	background: radial-gradient(circle, rgba(0,163,180,0.22) 0%, transparent 60%);
	pointer-events: none;
}
.hy-footer-cta-inner {
	position: relative;
	display: grid; grid-template-columns: 1fr auto;
	gap: 32px; align-items: center;
}
@media (max-width: 768px) { .hy-footer-cta-inner { grid-template-columns: 1fr; text-align: center; } }
.hy-footer-cta h2 { color: var(--white); margin: 0; max-width: 600px; }
.hy-footer-cta .hy-kicker { color: var(--cyan-soft); }
.hy-footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) { .hy-footer-cta-actions { justify-content: center; } }

/* ---------- Footer ---------- */
.hy-footer { background: var(--navy-ink); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.hy-footer h3 {
	color: var(--white); font-size: 13px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 2px;
	margin-bottom: 20px;
}
.hy-footer a { color: rgba(255,255,255,0.75); }
.hy-footer a:hover { color: var(--cyan-soft); }

.hy-footer-grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px 32px;
}
@media (max-width: 900px) { .hy-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hy-footer-grid { grid-template-columns: 1fr; } }

.hy-footer-brand img { height: 48px; margin-bottom: 16px; }
.hy-footer-brand p { color: rgba(255,255,255,0.72); font-size: 14px; margin-bottom: 8px; }
.hy-footer-brand .hy-domain { color: var(--cyan-soft); font-family: var(--font-h); font-weight: 600; font-size: 14px; }

.hy-footer-menu, .hy-footer-contact {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 10px;
}
.hy-footer-menu a, .hy-footer-contact a {
	font-family: var(--font-h); font-weight: 500; font-size: 14.5px;
}

.hy-footer-bottom {
	margin-top: 56px; padding: 20px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
}
.hy-footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.55); }

/* ---------- Comments (basic) ---------- */
.hy-prose .comments-area { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }

/* ---------- Small utilities ---------- */
.hy-text-center { text-align: center; }
.hy-mt-0 { margin-top: 0; }

/* ---------- Print ---------- */
@media print {
	.hy-header, .hy-footer, .hy-footer-cta, .hy-doc-aside, .hy-doc-utils, .hy-nav-toggle, .hy-hero-bg { display: none !important; }
	body { background: #fff; }
	.hy-doc-prose { box-shadow: none; border: 0; padding: 0; }
	.hy-section { padding: 24px 0; }
	.hy-doc-grid { grid-template-columns: 1fr; }
}
