/* Kıran Tesisat: component styles. Tokens (colours, font, sizes) come from theme.json. */

:root {
	--kt-navy: var(--wp--preset--color--lacivert, #002050);
	--kt-navy-2: var(--wp--preset--color--lacivert-2, #0a2c66);
	--kt-blue: var(--wp--preset--color--mavi, #0050d0);
	--kt-blue-dark: var(--wp--preset--color--mavi-koyu, #003c9e);
	--kt-teal: var(--wp--preset--color--turkuaz, #00a8e0);
	--kt-ice: var(--wp--preset--color--buz, #eef4fb);
	--kt-bg: var(--wp--preset--color--zemin, #f6f8fb);
	--kt-ink: var(--wp--preset--color--metin, #14213d);
	--kt-muted: var(--wp--preset--color--metin-2, #4a5672);
	--kt-line: var(--wp--preset--color--cizgi, #dbe3ef);
	--kt-wa: #13814f;
	--kt-wa-dark: #0d6a40;
	--kt-radius: 14px;
	--kt-shadow: 0 1px 2px rgba(0, 32, 80, .06), 0 10px 30px -14px rgba(0, 32, 80, .25);
	--kt-header-h: 76px;
	--kt-topbar-h: 38px;
	--kt-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 64C240 6 480 8 720 58s480 64 720-4v66H0z' fill='%230050d0'/%3E%3Cpath d='M0 92c260-48 520-44 760-8s460 40 680 0v36H0z' fill='%2300a8e0'/%3E%3Cpath d='M0 108c300-28 600-24 840-4s420 20 600 4v12H0z' fill='%23fff'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--kt-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--kt-teal); outline-offset: 2px; border-radius: 6px; }
.kt-icon { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kt-wrap { max-width: var(--wp--style--global--wide-size, 1200px); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* ---------- Buttons ---------- */
.kt-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.kt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 50px; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.kt-btn:hover { transform: translateY(-1px); }
.kt-btn .kt-icon { width: 1.2em; height: 1.2em; }
.kt-btn--call { background: var(--kt-blue); color: #fff; }
.kt-btn--call:hover, .kt-btn--call:focus-visible { background: var(--kt-blue-dark); color: #fff; }
.kt-btn--wa { background: var(--kt-wa); color: #fff; }
.kt-btn--wa:hover, .kt-btn--wa:focus-visible { background: var(--kt-wa-dark); color: #fff; }
.kt-btn--ghost { background: transparent; color: var(--kt-navy); border-color: var(--kt-line); }
.kt-btn--ghost:hover, .kt-btn--ghost:focus-visible { border-color: var(--kt-blue); color: var(--kt-blue); }
.kt-buttons--ters .kt-btn--call { background: var(--kt-teal); color: var(--kt-navy); }
.kt-buttons--ters .kt-btn--call:hover, .kt-buttons--ters .kt-btn--call:focus-visible { background: #fff; color: var(--kt-navy); }
.kt-buttons--ters .kt-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.kt-buttons--ters .kt-btn--ghost:hover, .kt-buttons--ters .kt-btn--ghost:focus-visible { border-color: #fff; color: #fff; }

.kt-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.kt-link .kt-icon { width: 1em; height: 1em; transition: transform .15s ease; }
.kt-link:hover .kt-icon { transform: translateX(3px); }

/* ---------- Header ---------- */
/* Sticky with the address bar scrolled away: only the logo row stays on screen. */
.kt-site-header { position: sticky; top: calc(-1 * var(--kt-topbar-h)); z-index: 50; }
.admin-bar .kt-site-header { top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--kt-topbar-h)); }
.kt-topbar { background: var(--kt-navy); color: rgba(255, 255, 255, .82); font-size: .875rem; }
.kt-topbar__inner { display: flex; gap: 1.5rem; height: var(--kt-topbar-h); align-items: center; overflow: hidden; white-space: nowrap; }
.kt-topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.kt-topbar__item:first-child { margin-right: auto; min-width: 0; overflow: hidden; }
.kt-topbar__item--acil { color: #fff; font-weight: 650; }
.kt-topbar .kt-icon { color: var(--kt-teal); width: 1.05em; height: 1.05em; }
.kt-header { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--kt-line); }
.kt-site-header.is-scrolled .kt-header { box-shadow: 0 6px 20px -12px rgba(0, 32, 80, .35); }
.kt-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--kt-header-h); }
.kt-brand { display: block; flex: none; line-height: 0; }
.kt-brand img { height: 46px; width: auto; }
.kt-nav { margin-left: auto; }
.kt-nav__list { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.kt-nav__item > a, .kt-nav__toggle {
	display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border: 0; border-radius: 10px; background: none;
	color: var(--kt-navy); font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.kt-nav__item > a:hover, .kt-nav__toggle:hover, .kt-nav__toggle[aria-expanded="true"] { background: var(--kt-ice); color: var(--kt-blue); }
.kt-nav__item > a[aria-current="page"] { color: var(--kt-blue); }
.kt-nav__toggle .kt-icon { width: 1em; height: 1em; transition: transform .2s ease; }
.kt-nav__toggle[aria-expanded="true"] .kt-icon { transform: rotate(180deg); }
.kt-nav__item--mega { position: static; }
.kt-mega {
	position: absolute; left: 50%; top: calc(100% - 6px); width: min(1100px, calc(100vw - 2rem)); transform: translateX(-50%);
	padding: 1.5rem; background: #fff; border: 1px solid var(--kt-line); border-radius: 18px; box-shadow: var(--kt-shadow);
	display: none;
}
.kt-nav__toggle[aria-expanded="true"] + .kt-mega { display: block; }
.kt-mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 1.5rem; }
.kt-mega__title { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--kt-muted); }
.kt-mega ul { margin: 0; padding: 0; list-style: none; }
.kt-mega li a { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; margin-inline: -.5rem; border-radius: 10px; color: var(--kt-navy); font-weight: 600; font-size: .95rem; line-height: 1.3; text-decoration: none; }
.kt-mega li a .kt-icon { color: var(--kt-blue); }
.kt-mega li a:hover, .kt-mega li a[aria-current="page"] { background: var(--kt-ice); color: var(--kt-blue); }
.kt-mega__all { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--kt-line); width: 100%; font-weight: 700; text-decoration: none; }
.kt-header__inner { position: relative; }
.kt-header__call { min-height: 46px; padding-inline: 1.1rem; }
.kt-menu-btn { display: none; }

@media (max-width: 1080px) {
	.kt-header__call span { display: none; }
	.kt-header__call { width: 46px; padding: 0; }
}

@media (max-width: 960px) {
	:root { --kt-header-h: 64px; --kt-topbar-h: 0px; }
	.kt-topbar { display: none; }
	.kt-brand img { height: 38px; }
	.kt-header__inner { gap: .75rem; }
	.kt-header__call { margin-left: auto; }
	.kt-menu-btn {
		display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
		border: 1px solid var(--kt-line); border-radius: 12px; background: #fff; color: var(--kt-navy); cursor: pointer;
	}
	.kt-menu-btn .kt-icon { width: 24px; height: 24px; }
	.kt-menu-btn__close, .kt-menu-btn[aria-expanded="true"] .kt-menu-btn__open { display: none; }
	.kt-menu-btn[aria-expanded="true"] .kt-menu-btn__close { display: block; }
	.kt-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: .75rem clamp(1rem, 4vw, 2rem) 1.5rem;
		max-height: calc(100vh - var(--kt-header-h)); max-height: calc(100dvh - var(--kt-header-h)); overflow-y: auto;
		background: #fff; border-bottom: 1px solid var(--kt-line); box-shadow: 0 20px 30px -20px rgba(0, 32, 80, .4);
	}
	.kt-site-header.is-open .kt-nav { display: block; }
	.kt-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.kt-nav__item > a, .kt-nav__toggle { width: 100%; justify-content: space-between; padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--kt-line); font-size: 1.05rem; }
	.kt-nav__item > a:hover, .kt-nav__toggle:hover, .kt-nav__toggle[aria-expanded="true"] { background: none; }
	.kt-mega { position: static; transform: none; width: auto; padding: .5rem 0 1rem; border: 0; border-radius: 0; box-shadow: none; }
	.kt-mega__grid { grid-template-columns: 1fr; gap: 1rem; }
	.kt-mega__title { margin-top: .5rem; }
}

/* ---------- Generic sections ---------- */
.wp-site-blocks > .kt-main, .wp-site-blocks > .kt-site-footer { margin-block-start: 0; }
.kt-main { padding-bottom: 0; }
.kt-section { padding-block: var(--wp--preset--spacing--60, 5rem); }
.kt-section--tint { background: var(--kt-bg); }
.kt-section__head { max-width: 760px; margin-bottom: 2rem; }
.kt-section__head > * + * { margin-top: .75rem; }
.kt-section__head p, .kt-lead { color: var(--kt-muted); font-size: 1.125rem; }
.kt-eyebrow { margin: 0; color: var(--kt-teal); font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Home hero ---------- */
.kt-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(5.5rem, 11vw, 9rem);
	background:
		radial-gradient(60rem 30rem at 85% -10%, rgba(0, 168, 224, .28), transparent 60%),
		radial-gradient(40rem 26rem at 0% 110%, rgba(0, 80, 208, .45), transparent 65%),
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
		var(--kt-navy);
}
.kt-hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -1px; height: clamp(48px, 8vw, 110px); background: var(--kt-wave) center bottom / 100% 100% no-repeat; }
.kt-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kt-hero__text > * + * { margin-top: 1.25rem; }
.kt-hero__title { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.kt-hero__lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 40rem; }
.kt-hero .kt-buttons { margin-top: 2rem; }
.kt-hero__panel { background: #fff; color: var(--kt-ink); border-radius: 20px; padding: 1.5rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.kt-hero__panel-title { margin: 0 0 .75rem; font-weight: 800; color: var(--kt-navy); }
.kt-hero__panel-note { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--kt-line); font-weight: 650; color: var(--kt-navy); }
.kt-hero__panel-note a { color: var(--kt-blue); white-space: nowrap; }

.kt-quick { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.kt-quick a {
	display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid var(--kt-line); border-radius: 12px;
	color: var(--kt-navy); font-weight: 700; text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.kt-quick a > .kt-icon:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--kt-ice); color: var(--kt-blue); }
.kt-quick a span { flex: 1; }
.kt-quick__arrow { color: var(--kt-blue); transition: transform .15s ease; }
.kt-quick a:hover { border-color: var(--kt-blue); background: var(--kt-ice); }
.kt-quick a:hover .kt-quick__arrow { transform: translateX(3px); }

/* ---------- Service cards ---------- */
.kt-groups { display: grid; gap: 2.5rem; }
.kt-group__title { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; font-size: 1.05rem; color: var(--kt-navy); }
.kt-group__title::before { content: ""; width: 28px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--kt-blue), var(--kt-teal)); }
.kt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.kt-card {
	position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.35rem 1.35rem 1.15rem;
	background: #fff; border: 1px solid var(--kt-line); border-radius: var(--kt-radius);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.kt-card:hover, .kt-card:focus-within { border-color: var(--kt-blue); box-shadow: var(--kt-shadow); transform: translateY(-2px); }
.kt-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .35rem; border-radius: 12px; background: var(--kt-ice); color: var(--kt-blue); }
.kt-card__icon .kt-icon { width: 26px; height: 26px; }
.kt-card__title { color: var(--kt-navy); font-weight: 800; font-size: 1.08rem; line-height: 1.3; text-decoration: none; }
.kt-card__title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.kt-card__title:hover { color: var(--kt-blue); }
.kt-card__text { color: var(--kt-muted); font-size: .95rem; line-height: 1.55; }
.kt-card__more { margin-top: auto; padding-top: .35rem; color: var(--kt-blue); }
.kt-card__more .kt-icon { transition: transform .15s ease; }
.kt-card:hover .kt-card__more .kt-icon { transform: translateX(4px); }

/* ---------- Steps, reasons ---------- */
.kt-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.kt-split__text > * + * { margin-top: 1rem; }
.kt-split__text p { color: var(--kt-muted); font-size: 1.1rem; }
ol.kt-steps { counter-reset: kt-step; margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
ol.kt-steps > li {
	counter-increment: kt-step; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.5rem;
	background: #fff; border: 1px solid var(--kt-line); border-radius: var(--kt-radius); color: var(--kt-muted);
}
ol.kt-steps > li::before {
	content: counter(kt-step); position: absolute; left: 1.25rem; top: 1.15rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
	border-radius: 50%; background: var(--kt-navy); color: #fff; font-weight: 800;
}
ol.kt-steps strong { display: block; color: var(--kt-navy); font-size: 1.05rem; }
ul.kt-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 auto; padding: 0; list-style: none; }
ul.kt-reasons > li { padding: 1.5rem; border-radius: var(--kt-radius); background: var(--kt-ice); color: var(--kt-muted); border-top: 4px solid var(--kt-teal); }
ul.kt-reasons strong { display: block; margin-bottom: .4rem; color: var(--kt-navy); font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.kt-sss { border: 1px solid var(--kt-line); border-radius: 12px; background: #fff; }
.kt-sss + .kt-sss { margin-top: .6rem; }
.kt-sss summary {
	position: relative; padding: 1rem 3rem 1rem 1.15rem; list-style: none; cursor: pointer; color: var(--kt-navy); font-weight: 700;
}
.kt-sss summary::-webkit-details-marker { display: none; }
.kt-sss summary::after {
	content: ""; position: absolute; right: 1.1rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: linear-gradient(var(--kt-blue), var(--kt-blue)) center / 14px 2px no-repeat, linear-gradient(var(--kt-blue), var(--kt-blue)) center / 2px 14px no-repeat;
	transition: transform .2s ease;
}
.kt-sss[open] summary::after { transform: rotate(45deg); }
.kt-sss > :not(summary) { margin: 0; padding: 0 1.15rem 1rem; color: var(--kt-muted); }

/* ---------- CTA band ---------- */
.kt-cta {
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
	margin-block: var(--wp--preset--spacing--50, 3rem); padding: clamp(1.75rem, 4vw, 3rem); border-radius: 22px; color: #fff;
	background: radial-gradient(30rem 16rem at 100% 0%, rgba(0, 168, 224, .35), transparent 65%), var(--kt-navy);
}
.kt-cta::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -1px; height: 46px; opacity: .55; background: var(--kt-wave) center bottom / 100% 100% no-repeat; filter: saturate(.9); }
.kt-cta__text { flex: 1 1 26rem; }
.kt-cta h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); }
.kt-cta p { margin: .5rem 0 0; color: rgba(255, 255, 255, .8); }

/* ---------- Page heads, breadcrumbs ---------- */
.kt-page__head { padding-top: clamp(1.75rem, 4vw, 3rem); }
.kt-page__title { margin-top: .5rem; }
.kt-prose { padding-bottom: var(--wp--preset--spacing--60, 4rem); }
/* Pages sit on the same left edge as the header; text keeps a readable measure. */
.kt-page__head > *, .kt-prose > :not(.alignwide):not(.alignfull) { max-width: 760px; }
.kt-404__body > * + * { margin-top: 1.5rem; }
.kt-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--kt-muted); }
.kt-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.kt-crumbs a { color: inherit; text-decoration: none; }
.kt-crumbs a:hover { color: var(--kt-blue); text-decoration: underline; }

/* ---------- Service page ---------- */
.kt-service__hero {
	position: relative; isolation: isolate; color: #fff; padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
	background:
		radial-gradient(40rem 20rem at 90% 0%, rgba(0, 168, 224, .25), transparent 60%),
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
		var(--kt-navy);
}
.kt-service__hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -1px; height: clamp(36px, 6vw, 72px); background: var(--kt-wave) center bottom / 100% 100% no-repeat; }
.kt-service__hero .kt-crumbs ol { color: rgba(255, 255, 255, .7); }
.kt-service__hero .kt-crumbs a:hover { color: #fff; }
.kt-service__title { margin: .85rem 0 1.5rem; color: #fff; max-width: 22ch; text-wrap: balance; }
.kt-service__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-top: var(--wp--preset--spacing--50, 3rem); }
.kt-service__content { max-width: 760px; }
.kt-service__after { padding-bottom: var(--wp--preset--spacing--50, 3rem); }

/* Long-form content (service pages, legal pages, posts) */
:where(.kt-service__content, .kt-prose) > * + * { margin-top: 1.1rem; }
:where(.kt-service__content, .kt-prose) > h2 { margin-top: 2.75rem; }
:where(.kt-service__content, .kt-prose) > h2::before {
	content: ""; display: block; width: 36px; height: 4px; margin-bottom: .85rem; border-radius: 4px; background: linear-gradient(90deg, var(--kt-blue), var(--kt-teal));
}
:where(.kt-service__content, .kt-prose) > h3 { margin-top: 2rem; }
:where(.kt-service__content, .kt-prose) > p,
:where(.kt-service__content, .kt-prose) > ul,
:where(.kt-service__content, .kt-prose) > ol { color: #2a3654; }
.kt-service__content > .kt-lead, .kt-prose > .kt-lead { color: var(--kt-ink); font-size: 1.2rem; line-height: 1.65; }
:where(.kt-service__content, .kt-prose) > ul.wp-block-list:not(.kt-reasons) { padding-left: 0; list-style: none; }
:where(.kt-service__content, .kt-prose) > ul.wp-block-list:not(.kt-reasons) > li { position: relative; padding-left: 1.75rem; }
:where(.kt-service__content, .kt-prose) > ul.wp-block-list:not(.kt-reasons) > li + li { margin-top: .5rem; }
:where(.kt-service__content, .kt-prose) > ul.wp-block-list:not(.kt-reasons) > li::before {
	content: ""; position: absolute; left: .25rem; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--kt-teal); box-shadow: 0 0 0 3px rgba(0, 168, 224, .18);
}
:where(.kt-service__content, .kt-prose) > ol.wp-block-list:not(.kt-steps) { counter-reset: kt-ol; padding-left: 0; list-style: none; }
:where(.kt-service__content, .kt-prose) > ol.wp-block-list:not(.kt-steps) > li { counter-increment: kt-ol; position: relative; padding-left: 2.6rem; min-height: 1.9rem; }
:where(.kt-service__content, .kt-prose) > ol.wp-block-list:not(.kt-steps) > li + li { margin-top: .7rem; }
:where(.kt-service__content, .kt-prose) > ol.wp-block-list:not(.kt-steps) > li::before {
	content: counter(kt-ol); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 1.8rem; height: 1.8rem;
	border-radius: 50%; background: var(--kt-ice); color: var(--kt-blue); font-weight: 800; font-size: .9rem;
}
:where(.kt-service__content, .kt-prose) a:not(.kt-btn):not(.kt-card__title):not(.kt-link) { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Side card */
.kt-side { position: sticky; top: calc(var(--kt-header-h) + 1.5rem); display: grid; gap: 1rem; }
.admin-bar .kt-side { top: calc(var(--kt-header-h) + 1.5rem + 32px); }
.kt-side__card { padding: 1.5rem; border: 1px solid var(--kt-line); border-radius: 18px; background: #fff; box-shadow: var(--kt-shadow); }
.kt-side__title { margin: 0; color: var(--kt-navy); font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.kt-side__text { margin: .5rem 0 1.15rem; color: var(--kt-muted); font-size: .95rem; line-height: 1.55; }
.kt-side .kt-buttons { flex-direction: column; gap: .6rem; }
.kt-side .kt-btn { width: 100%; }
.kt-side__address { display: flex; gap: .6rem; margin: 1.15rem 0 0; padding-top: 1rem; border-top: 1px solid var(--kt-line); color: var(--kt-muted); font-size: .9rem; line-height: 1.5; }
.kt-side__address .kt-icon { color: var(--kt-blue); margin-top: .1rem; }
.kt-side__nav { padding: 1.25rem 1.5rem; border-radius: 18px; background: var(--kt-bg); }
.kt-side__nav-title { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--kt-muted); }
.kt-side__nav ul { margin: 0; padding: 0; list-style: none; }
.kt-side__nav li a { display: block; padding: .4rem 0; color: var(--kt-navy); font-weight: 600; font-size: .95rem; text-decoration: none; }
.kt-side__nav li a:hover { color: var(--kt-blue); }

/* Related */
.kt-related { margin-top: var(--wp--preset--spacing--60, 4rem); padding-top: var(--wp--preset--spacing--50, 3rem); border-top: 1px solid var(--kt-line); }
.kt-related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.kt-related__head h2 { margin: 0; }

/* ---------- Contact page ---------- */
.kt-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 2rem !important; }
.kt-contact-layout__form > h2 { margin-top: 0 !important; }
.kt-contact-layout__form > h2::before { display: none !important; }
.kt-contact-box { padding: 1.75rem; border-radius: 20px; background: var(--kt-navy); color: rgba(255, 255, 255, .85); }
.kt-contact-box__name { margin: 0; color: #fff; font-weight: 800; font-size: 1.35rem; }
.kt-contact-box__owner { margin: .2rem 0 1.25rem; font-size: .95rem; }
.kt-contact { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.kt-contact li { display: flex; gap: .85rem; line-height: 1.5; }
.kt-contact__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--kt-teal); }
.kt-contact__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.kt-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.kt-contact a:hover { color: var(--kt-teal); }
.kt-contact .kt-link { margin-top: .25rem; color: var(--kt-teal); font-size: .95rem; }

/* ---------- Form ---------- */
.kt-form-wrap { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--kt-line); border-radius: 20px; background: #fff; box-shadow: var(--kt-shadow); }
.kt-form { display: grid; gap: 1rem; }
.kt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kt-field { display: grid; gap: .35rem; align-content: start; margin: 0; }
.kt-field label { color: var(--kt-navy); font-weight: 700; font-size: .95rem; }
.kt-field label span { color: var(--kt-muted); font-weight: 500; }
.kt-field input, .kt-field select, .kt-field textarea {
	width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid var(--kt-line); border-radius: 12px; background: var(--kt-bg);
	color: var(--kt-ink); font: inherit; font-size: 1rem;
}
.kt-field textarea { min-height: 110px; resize: vertical; }
.kt-field input:focus, .kt-field select:focus, .kt-field textarea:focus { outline: none; border-color: var(--kt-blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 80, 208, .12); }
.kt-field [aria-invalid="true"] { border-color: #c62828; }
.kt-field__error { color: #b42318; font-size: .875rem; font-weight: 600; }
.kt-form__note { margin: 0; color: var(--kt-muted); font-size: .875rem; }
.kt-form .kt-btn { justify-self: start; }
.kt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kt-notice { margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; }
.kt-notice--ok { background: #e7f6ee; color: #0d5e37; }
.kt-notice--err { background: #fdecea; color: #8a1c13; }
.kt-notice a { color: inherit; }

/* ---------- Blog: listings ---------- */
.kt-archive-intro { max-width: 760px; margin-top: .75rem; color: var(--kt-muted); font-size: 1.1rem; }
.kt-archive-intro > * { margin: 0; }
.kt-archive-intro > * + * { margin-top: .75rem; }
.kt-listing__body { padding-top: 2rem; padding-bottom: var(--wp--preset--spacing--60, 4rem); }
.kt-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.kt-post-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--kt-line); border-radius: 16px;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.kt-post-card:hover, .kt-post-card:focus-within { border-color: var(--kt-blue); box-shadow: var(--kt-shadow); transform: translateY(-2px); }
.kt-post-card__media { aspect-ratio: 16 / 9; background: var(--kt-ice); }
.kt-post-card__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kt-post-card__media--bos {
	background:
		url("../img/logo-isaret-beyaz.svg") center / 34% auto no-repeat,
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px,
		var(--kt-navy);
}
.kt-post-card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.25rem 1.35rem 1.4rem; }
.kt-post-card__date { color: var(--kt-muted); font-size: .85rem; }
.kt-post-card__link { color: var(--kt-navy); font-weight: 800; font-size: 1.15rem; line-height: 1.3; text-decoration: none; }
.kt-post-card__link::after { content: ""; position: absolute; inset: 0; }
.kt-post-card__link:hover { color: var(--kt-blue); }
.kt-post-card__excerpt { margin: 0; color: var(--kt-muted); font-size: .95rem; line-height: 1.6; }
.kt-empty { color: var(--kt-muted); }
.kt-pagination { margin-top: 2.5rem; }
.kt-pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.kt-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border: 1px solid var(--kt-line); border-radius: 12px; color: var(--kt-navy); font-weight: 700; text-decoration: none; }
.kt-pagination a.page-numbers:hover { border-color: var(--kt-blue); color: var(--kt-blue); }
.kt-pagination .current { background: var(--kt-navy); border-color: var(--kt-navy); color: #fff; }
.kt-search { max-width: 560px; margin-top: 1rem; }

/* ---------- Blog: author page ---------- */
.kt-author-profile { display: flex; gap: 1.5rem; align-items: flex-start; }
.kt-author-profile__photo { width: 120px; height: 120px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--kt-line); }
.kt-author-profile__label { margin: 0; color: var(--kt-teal); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.kt-author-profile .kt-page__title { margin: .25rem 0 0; }
.kt-author-profile__title { margin: .35rem 0 0; color: var(--kt-navy); font-weight: 700; }
.kt-author-profile__bio { margin: .75rem 0 0; max-width: 680px; color: var(--kt-muted); font-size: 1.05rem; }
.kt-author-profile__count { margin: .75rem 0 0; color: var(--kt-muted); font-size: .9rem; font-weight: 600; }

/* ---------- Blog: single post ---------- */
.kt-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 1rem 0 0; color: var(--kt-muted); font-size: .92rem; }
.kt-byline__author { display: inline-flex; align-items: center; gap: .55rem; }
.kt-byline__avatar { width: 32px; height: 32px; border-radius: 50%; }
.kt-byline a { color: var(--kt-navy); font-weight: 700; text-decoration: none; }
.kt-byline a:hover { color: var(--kt-blue); text-decoration: underline; }
.kt-byline__sep { opacity: .5; }
.kt-single .kt-service__body { padding-top: 2rem; }
.kt-single__main > * + * { margin-top: 1.75rem; }
.kt-single__image { margin: 0; }
.kt-single__image img { display: block; width: 100%; height: auto; border-radius: 18px; }
.kt-toc { max-width: 760px; padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--kt-bg); border: 1px solid var(--kt-line); }
.kt-toc__title { margin: 0 0 .5rem; color: var(--kt-navy); font-weight: 800; }
.kt-toc ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .35rem; }
.kt-toc a { color: var(--kt-blue); text-decoration: none; }
.kt-toc a:hover { text-decoration: underline; }
.kt-single__tags { max-width: 760px; color: var(--kt-muted); font-size: .92rem; }
.kt-single__tags a { color: var(--kt-blue); }
.kt-author-box { display: flex; gap: 1.25rem; max-width: 760px; padding: 1.5rem; border-radius: 18px; background: var(--kt-ice); }
.kt-author-box__photo { width: 80px; height: 80px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.kt-author-box p { margin: 0; }
.kt-author-box__label { color: var(--kt-muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kt-author-box__name { font-weight: 800; font-size: 1.15rem; }
.kt-author-box__name a { color: var(--kt-navy); text-decoration: none; }
.kt-author-box__title { color: var(--kt-navy); font-weight: 600; font-size: .95rem; }
.kt-author-box__bio { margin-top: .5rem !important; color: var(--kt-muted); }
.kt-author-box .kt-link { margin-top: .6rem; font-size: .95rem; }
.kt-404 .kt-quick { margin-block: 2rem; }
.kt-404 { padding-bottom: var(--wp--preset--spacing--60, 4rem); }

/* ---------- Footer ---------- */
.kt-footer { margin-top: 0; padding-top: clamp(3rem, 6vw, 4.5rem); background: var(--kt-navy); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.kt-footer__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, .7fr); gap: 2.5rem; }
.kt-footer__brand img { height: 52px; width: auto; }
.kt-footer__brand > p { margin: 1rem 0 1.5rem; max-width: 26rem; }
.kt-footer__title { margin: 0 0 1rem; color: #fff; font-weight: 800; letter-spacing: .04em; }
.kt-footer__nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.kt-footer__nav--services ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.kt-footer__nav a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.kt-footer__nav a:hover { color: #fff; text-decoration: underline; }
.kt-footer__bottom { margin-top: 3rem; padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.kt-footer__bottom p { margin: 0; }

.kt-callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.kt-service__body { grid-template-columns: minmax(0, 1fr) 300px; }
	.kt-footer__grid { grid-template-columns: 1fr 1fr; }
	.kt-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.kt-service__body { grid-template-columns: minmax(0, 1fr); }
	.kt-side { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
}

@media (max-width: 900px) {
	.kt-hero__inner, .kt-split, .kt-contact-layout { grid-template-columns: minmax(0, 1fr); }
	ul.kt-reasons { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 781px) {
	body { padding-bottom: 68px; }
	.kt-author-profile, .kt-author-box { flex-direction: column; }
	.kt-author-profile__photo { width: 96px; height: 96px; }
	.kt-hero__lead { font-size: 1.05rem; }
	.kt-callbar {
		position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
		padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--kt-line);
		box-shadow: 0 -8px 24px -16px rgba(0, 32, 80, .4);
	}
	.kt-callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 12px; color: #fff; font-weight: 800; text-decoration: none; }
	.kt-callbar__call { background: var(--kt-blue); }
	.kt-callbar__wa { background: var(--kt-wa); }
	.kt-callbar a:only-child { grid-column: 1 / -1; }
	.kt-form__row { grid-template-columns: 1fr; }
	.kt-footer__grid, .kt-footer__nav--services ul { grid-template-columns: 1fr; }
	.kt-hero .kt-btn, .kt-service__hero .kt-btn { flex: 1 1 100%; }
	.kt-cta .kt-buttons { width: 100%; }
	.kt-cta .kt-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
