/* =================================================================
   Baran Yapı — Tema Stilleri
   İçindekiler:
   1) Değişkenler & Reset      8) Hero
   2) Tipografi                9) Güven rakamları
   3) Butonlar                10) Hizmetler / Neden biz / Süreç
   4) Yardımcı sınıflar       11) Projeler / Yorumlar / İletişim
   5) Topbar                  12) Footer & Mobil bar
   6) Cam Header + Menü       13) Blog / Sayfa / Yardımcı sayfalar
   7) Mobil Menü              14) Animasyon & Responsive
   ================================================================= */

/* ------------------------- 1) Değişkenler ------------------------ */
:root {
	--by-navy:        #0f2740;
	--by-navy-800:    #12314f;
	--by-navy-700:    #1a3d61;
	--by-ink:         #0c1b2c;
	--by-text:        #33475b;
	--by-muted:       #64778a;
	--by-line:        #e5ebf1;
	--by-bg:          #f5f8fc;
	--by-bg-soft:     #eef3f9;
	--by-white:       #ffffff;

	--by-accent:      #ef6a1a;
	--by-accent-600:  #d95c10;
	--by-accent-050:  #fff2e8;

	--by-radius:      16px;
	--by-radius-sm:   12px;
	--by-radius-lg:   24px;

	--by-shadow-sm:   0 2px 10px rgba(15, 39, 64, .06);
	--by-shadow:      0 12px 34px rgba(15, 39, 64, .10);
	--by-shadow-lg:   0 26px 60px rgba(15, 39, 64, .16);

	--by-header-h:    76px;
	--by-container:   1200px;

	--by-font:        'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--by-font-head:   'Plus Jakarta Sans', var(--by-font);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	max-width: 100%;
}

body {
	margin: 0;
	font-family: var(--by-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--by-text);
	background: var(--by-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	max-width: 100%;
}

/* Yatay taşma önlemi: hiçbir sarmalayıcı görünen alanı geçemez. */
#page { overflow-x: clip; max-width: 100%; }

/* Medya ve gömülü içerikler asla ekranı aşmaz. */
img, svg, video, iframe, table { max-width: 100%; }
img { height: auto; display: block; }
/* Uzun kelime/URL'ler satırı taşırmasın. */
h1, h2, h3, h4, p, a, li, span, blockquote { overflow-wrap: break-word; word-wrap: break-word; }
a { color: var(--by-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--by-accent-600); }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--by-navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------- 2) Tipografi -------------------------- */
h1, h2, h3, h4 {
	font-family: var(--by-font-head);
	color: var(--by-ink);
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

.by-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------- 3) Butonlar --------------------------- */
.by-btn {
	--btn-bg: var(--by-navy);
	--btn-fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .82em 1.4em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.by-btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.by-btn .by-icon { width: 1.15em; height: 1.15em; }
.by-btn--lg { padding: 1.02em 1.7em; font-size: 1rem; }
.by-btn--block { width: 100%; }

/* Çok dar ekranlarda uzun metinli butonlar tam genişlik olsun (yana taşmayı önler). */
@media (max-width: 420px) {
	.by-hero__actions .by-btn,
	.by-footer-cta__actions .by-btn { width: 100%; }
	.by-btn { white-space: normal; }
}

.by-btn--accent { --btn-bg: var(--by-accent); box-shadow: 0 10px 24px rgba(239,106,26,.32); }
.by-btn--accent:hover { --btn-bg: var(--by-accent-600); box-shadow: 0 14px 30px rgba(239,106,26,.4); }

.by-btn--dark { --btn-bg: var(--by-navy); }
.by-btn--dark:hover { --btn-bg: var(--by-navy-700); }

.by-btn--light { --btn-bg: #fff; --btn-fg: var(--by-navy); box-shadow: var(--by-shadow-sm); }
.by-btn--light:hover { --btn-fg: var(--by-navy); }

.by-btn--ghost {
	--btn-bg: transparent; --btn-fg: var(--by-navy);
	border-color: var(--by-line); background: #fff;
}
.by-btn--ghost:hover { --btn-fg: var(--by-navy); border-color: var(--by-accent); }

/* Cam (glass) buton – koyu hero üstünde */
.by-btn--glass {
	--btn-fg: #fff;
	background: rgba(255,255,255,.12);
	border-color: rgba(255,255,255,.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.by-btn--glass:hover { background: rgba(255,255,255,.22); --btn-fg: #fff; }

/* ------------------------- 4) Yardımcılar ------------------------ */
.by-container { width: 100%; max-width: var(--by-container); margin-inline: auto; padding-inline: 20px; }

.by-section { padding: clamp(56px, 8vw, 104px) 0; }
.by-section__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.by-section__title { margin-bottom: .5rem; }
.by-section__lead { color: var(--by-muted); font-size: 1.08rem; margin: 0; }

.by-eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--by-font-head);
	font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--by-accent);
	margin: 0 0 .9rem;
}
.by-eyebrow .by-icon { color: var(--by-accent); }

.by-hide-mobile { display: none; }

/* ------------------------- 5) Topbar ----------------------------- */
.by-topbar {
	background: var(--by-navy);
	color: rgba(255,255,255,.85);
	font-size: .85rem;
}
.by-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.by-topbar__info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.by-topbar__item { display: inline-flex; align-items: center; gap: .5em; color: rgba(255,255,255,.85); }
.by-topbar__item:hover { color: #fff; }
.by-topbar__item .by-icon { width: 1.05em; height: 1.05em; color: var(--by-accent); }

.by-social { display: inline-flex; align-items: center; gap: 8px; }
.by-social-link {
	display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); transition: all .2s ease;
}
.by-social-link:hover { background: var(--by-accent); color: #fff; transform: translateY(-2px); }
.by-social-link .by-icon { width: 17px; height: 17px; }

/* ---------------------- 6) Cam Header + Menü --------------------- */
.by-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.72);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid rgba(15,39,64,.08);
	transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.by-header.is-scrolled {
	background: rgba(255,255,255,.9);
	box-shadow: 0 8px 30px rgba(15,39,64,.10);
	border-bottom-color: rgba(15,39,64,.06);
}
.by-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: var(--by-header-h);
}

/* Logo (Özelleştir > Site Kimliği > Logo ile yüklenir) */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { height: 50px; width: auto; max-width: 220px; object-fit: contain; }
/* Footer koyu zeminde logo için biraz daha kompakt. */
.by-footer-brand .custom-logo { height: 44px; }
.by-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--by-ink); }
.by-logo__mark {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
	background: linear-gradient(135deg, var(--by-accent), #ffab5e);
	color: #fff; box-shadow: 0 8px 18px rgba(239,106,26,.34);
}
.by-logo__mark .by-icon { width: 24px; height: 24px; }
.by-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.by-logo__text strong { font-family: var(--by-font-head); font-size: 1.25rem; font-weight: 800; color: var(--by-ink); }
.by-logo__text em { font-style: normal; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--by-muted); }

/* Masaüstü menü */
.by-nav { display: none; }
.by-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.by-menu li { position: relative; }
.by-menu a {
	display: block; padding: 10px 15px; border-radius: 10px;
	color: var(--by-navy); font-weight: 600; font-size: .96rem;
	transition: background .2s ease, color .2s ease;
}
.by-menu a:hover, .by-menu .current-menu-item > a { background: rgba(15,39,64,.06); color: var(--by-ink); }

/* Alt menü */
.by-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
	background: #fff; border: 1px solid var(--by-line); border-radius: 14px;
	box-shadow: var(--by-shadow); padding: 8px; list-style: none;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 20;
}
.by-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.by-menu .sub-menu a { font-size: .9rem; }

.by-header__actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.by-nav-toggle {
	width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--by-line);
	background: #fff; display: inline-grid; place-content: center; gap: 5px; padding: 0;
}
.by-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--by-navy); border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
.by-nav-open .by-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.by-nav-open .by-nav-toggle span:nth-child(2) { opacity: 0; }
.by-nav-open .by-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------- 7) Mobil Menü ------------------------- */
/* Portal: tam ekran boyutunda, ekran dışına kayan paneli KIRPAR.
   Böylece kapalıyken panel sağ dışa itilse bile sayfada yatay
   kaydırma/sağa kayma oluşmaz (fixed öğeler body'nin overflow'undan
   kaçtığı için bu kapsayıcı şart). */
.by-nav-portal {
	position: fixed; inset: 0; z-index: 108;
	overflow: hidden;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0s linear .34s;
}
.by-nav-open .by-nav-portal {
	pointer-events: auto;
	visibility: visible;
	transition-delay: 0s;
}

.by-nav-overlay {
	position: absolute; inset: 0; background: rgba(12,27,44,.5);
	opacity: 0; transition: opacity .3s ease; backdrop-filter: blur(2px);
}
.by-nav-open .by-nav-overlay { opacity: 1; }

.by-mobile-nav {
	position: absolute; top: 0; right: 0; height: 100%;
	width: min(86vw, 360px); max-width: 100%;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(180%) blur(22px);
	-webkit-backdrop-filter: saturate(180%) blur(22px);
	border-left: 1px solid rgba(255,255,255,.5);
	box-shadow: -20px 0 50px rgba(15,39,64,.2);
	transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
	overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 84px 24px 32px;
}
.by-nav-open .by-mobile-nav { transform: translateX(0); }

/* Menü açıkken arka planın kaymasını kilitle. */
body.by-nav-open { overflow: hidden; }

.by-mobile-menu { list-style: none; }
.by-mobile-menu li { border-bottom: 1px solid rgba(15,39,64,.08); }
.by-mobile-menu a { display: block; padding: 15px 4px; font-family: var(--by-font-head); font-weight: 700; font-size: 1.08rem; color: var(--by-ink); }
.by-mobile-menu a:hover { color: var(--by-accent); }
.by-mobile-menu .sub-menu { list-style: none; padding-left: 14px; }
.by-mobile-menu .sub-menu a { font-size: .96rem; font-weight: 600; color: var(--by-text); }

.by-mobile-nav__actions { display: grid; gap: 10px; margin: 24px 0 20px; }
.by-social--mobile { justify-content: flex-start; }
.by-social--mobile .by-social-link { background: rgba(15,39,64,.06); color: var(--by-navy); }
.by-social--mobile .by-social-link:hover { background: var(--by-accent); color: #fff; }

/* ------------------------- 8) Hero ------------------------------- */
.by-hero {
	position: relative; isolation: isolate;
	padding: clamp(64px, 12vw, 130px) 0 clamp(72px, 12vw, 140px);
	background:
		radial-gradient(120% 120% at 80% 0%, rgba(239,106,26,.16), transparent 42%),
		linear-gradient(160deg, var(--by-navy) 0%, var(--by-navy-800) 55%, #0a1c30 100%);
	color: #fff; overflow: hidden;
}
.by-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background-image: var(--hero-image, none);
	background-size: cover; background-position: center; opacity: .28;
}
.by-hero__overlay {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10,24,40,.2), rgba(10,24,40,.55));
}
.by-hero__content { max-width: 760px; }
.by-hero__eyebrow {
	display: inline-flex; align-items: center; gap: .55em;
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
	padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600;
	color: #fff; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.by-hero__eyebrow .by-icon { color: #ffd0ab; width: 1.1em; height: 1.1em; }
.by-hero__title { color: #fff; margin-bottom: 18px; text-wrap: balance; }
.by-hero__subtitle { font-size: clamp(1.02rem, 2vw, 1.22rem); color: rgba(255,255,255,.86); max-width: 620px; margin-bottom: 30px; }

.by-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.by-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; }
.by-hero__trust li { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.9); }
.by-hero__trust .by-icon { color: #6ee7b7; width: 1.25em; height: 1.25em; }

/* ------------------------- 9) Güven rakamları -------------------- */
.by-stats { background: var(--by-navy-800); }
.by-stats__grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 1px; background: rgba(255,255,255,.08);
	border-radius: var(--by-radius-lg); overflow: hidden; margin-top: -1px;
}
.by-stat { background: var(--by-navy-800); padding: 30px 20px; text-align: center; }
.by-stat__num { display: block; font-family: var(--by-font-head); font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.by-stat__label { display: block; margin-top: 4px; font-size: .9rem; color: rgba(255,255,255,.7); }

/* ------------------------- 10) Hizmetler ------------------------- */
.by-services { background: var(--by-bg); }
.by-services__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.by-service-card {
	background: #fff; border: 1px solid var(--by-line); border-radius: var(--by-radius);
	padding: 26px 24px; box-shadow: var(--by-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	display: flex; flex-direction: column;
}
.by-service-card:hover { transform: translateY(-6px); box-shadow: var(--by-shadow-lg); border-color: transparent; }
.by-service-card__icon {
	display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 15px;
	background: var(--by-accent-050); color: var(--by-accent); margin-bottom: 18px;
	transition: background .22s ease, color .22s ease;
}
.by-service-card__icon .by-icon { width: 28px; height: 28px; }
.by-service-card:hover .by-service-card__icon { background: var(--by-accent); color: #fff; }
.by-service-card__title { margin-bottom: 8px; }
.by-service-card__desc { color: var(--by-muted); font-size: .96rem; margin-bottom: 18px; flex: 1; }
.by-service-card__link {
	display: inline-flex; align-items: center; gap: .4em; align-self: flex-start;
	font-weight: 700; font-size: .9rem; color: var(--by-navy);
}
.by-service-card__link .by-icon { transition: transform .2s ease; width: 1.1em; height: 1.1em; }
.by-service-card__link:hover { color: var(--by-accent); }
.by-service-card__link:hover .by-icon { transform: translateX(4px); }

/* ------------------------- Neden biz ----------------------------- */
.by-why__inner { display: grid; gap: 40px; }
.by-why__intro .by-btn { margin-top: 6px; }
.by-why__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.by-feature {
	background: #fff; border: 1px solid var(--by-line); border-radius: var(--by-radius);
	padding: 24px; box-shadow: var(--by-shadow-sm);
}
.by-feature__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--by-navy); color: #fff; margin-bottom: 14px;
}
.by-feature__icon .by-icon { width: 26px; height: 26px; }
.by-feature__title { margin-bottom: 6px; }
.by-feature__desc { color: var(--by-muted); font-size: .95rem; margin: 0; }

/* ------------------------- Süreç --------------------------------- */
.by-process { background: var(--by-bg); }
.by-process__list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.by-step {
	position: relative; background: #fff; border: 1px solid var(--by-line);
	border-radius: var(--by-radius); padding: 28px 24px; box-shadow: var(--by-shadow-sm);
}
.by-step__num {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--by-accent-050); color: var(--by-accent);
	font-family: var(--by-font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px;
}
.by-step__title { margin-bottom: 6px; }
.by-step__desc { color: var(--by-muted); font-size: .95rem; margin: 0; }

/* ------------------------- 11) Projeler -------------------------- */
.by-gallery__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.by-gallery__item {
	position: relative; display: block; border-radius: var(--by-radius); overflow: hidden;
	aspect-ratio: 4 / 3; background: var(--by-bg-soft); box-shadow: var(--by-shadow-sm);
}
.by-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.by-gallery__item:hover img { transform: scale(1.06); }
.by-gallery__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	color: var(--by-navy); opacity: .28;
}
.by-gallery__placeholder .by-icon { width: 64px; height: 64px; }
.by-gallery__item--demo {
	background: linear-gradient(135deg, var(--by-bg-soft), #dde7f1);
}
.by-gallery__caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 16px;
	color: #fff; font-family: var(--by-font-head); font-weight: 700; font-size: 1rem;
	background: linear-gradient(180deg, transparent, rgba(10,24,40,.82));
}
.by-gallery__item--demo .by-gallery__caption { color: var(--by-navy); background: none; }

/* ------------------------- Yorumlar ------------------------------ */
.by-reviews { background: var(--by-navy); color: #fff; }
.by-reviews .by-section__title { color: #fff; }
.by-reviews .by-eyebrow { color: #ffb98a; }
.by-reviews__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.by-review {
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--by-radius); padding: 26px; margin: 0;
	backdrop-filter: blur(4px);
}
.by-review__stars { display: flex; gap: 3px; color: #ffb703; margin-bottom: 14px; }
.by-review__stars .by-icon { width: 18px; height: 18px; fill: #ffb703; stroke: #ffb703; }
.by-review__text { margin: 0 0 18px; font-size: 1.02rem; color: rgba(255,255,255,.92); line-height: 1.6; }
.by-review__author { display: flex; align-items: center; gap: 12px; }
.by-review__avatar {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--by-accent); color: #fff; font-family: var(--by-font-head); font-weight: 800; font-size: 1.1rem;
}
.by-review__author strong { display: block; color: #fff; font-size: .98rem; }
.by-review__author em { font-style: normal; font-size: .84rem; color: rgba(255,255,255,.6); }

/* ------------------------- İletişim ------------------------------ */
.by-contact { background: var(--by-bg); }
.by-contact__inner { display: grid; gap: 34px; }
.by-contact__list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.by-contact__list li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; color: var(--by-ink); }
.by-contact__ico {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	background: #fff; color: var(--by-accent); border: 1px solid var(--by-line); flex: none;
}

/* Form */
.by-form {
	background: #fff; border: 1px solid var(--by-line); border-radius: var(--by-radius-lg);
	padding: clamp(24px, 4vw, 36px); box-shadow: var(--by-shadow);
}
.by-form__title { margin-bottom: 20px; }
.by-form__row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.by-form label { display: block; margin-bottom: 14px; }
.by-form label > span { display: block; font-weight: 600; font-size: .88rem; color: var(--by-ink); margin-bottom: 6px; }
.by-form input, .by-form select, .by-form textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--by-line); border-radius: 12px;
	background: var(--by-bg); font-family: inherit; font-size: .98rem; color: var(--by-ink);
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.by-form input:focus, .by-form select:focus, .by-form textarea:focus {
	outline: none; border-color: var(--by-accent); background: #fff;
	box-shadow: 0 0 0 4px rgba(239,106,26,.14);
}
.by-form textarea { resize: vertical; }
.by-form__note { font-size: .8rem; color: var(--by-muted); margin: 12px 0 0; }
.by-form .by-btn { margin-top: 6px; }

/* ---------------------- 12) Footer & Mobil bar ------------------- */
.by-footer { background: var(--by-ink); color: rgba(255,255,255,.7); }

.by-footer-cta {
	background: linear-gradient(135deg, var(--by-accent), #ff9248);
	position: relative; overflow: hidden;
}
.by-footer-cta::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
	background: rgba(255,255,255,.14); border-radius: 50%;
}
.by-footer-cta__inner {
	position: relative; z-index: 1;
	display: grid; gap: 20px; padding: clamp(32px, 5vw, 52px) 0;
	text-align: center;
}
.by-footer-cta__text h2 { color: #fff; margin-bottom: 6px; }
.by-footer-cta__text p { color: rgba(255,255,255,.9); margin: 0; }
.by-footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.by-footer-main { padding: clamp(44px, 6vw, 72px) 0 40px; }
.by-footer-grid { display: grid; grid-template-columns: 1fr; gap: 38px; }
.by-footer-brand { margin-bottom: 16px; }
.by-footer-brand .by-logo__text strong { color: #fff; }
.by-footer-brand .by-logo { color: #fff; }
.by-footer-about { color: rgba(255,255,255,.62); font-size: .96rem; max-width: 420px; margin-bottom: 20px; }
.by-social--footer .by-social-link { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.by-social--footer .by-social-link:hover { background: var(--by-accent); color: #fff; }

.by-footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.by-footer-links { list-style: none; }
.by-footer-links--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.by-footer-links a { display: block; padding: 5px 0; color: rgba(255,255,255,.66); font-size: .93rem; }
.by-footer-links a:hover { color: #fff; padding-left: 4px; }

.by-footer-contact { list-style: none; display: grid; gap: 14px; }
.by-footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: .94rem; color: rgba(255,255,255,.72); }
.by-footer-contact .by-icon { color: var(--by-accent); flex: none; margin-top: 2px; }
.by-footer-contact a { color: rgba(255,255,255,.72); }
.by-footer-contact a:hover { color: #fff; }

.by-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.by-footer-bottom__inner {
	display: flex; flex-direction: column; gap: 12px; align-items: center;
	padding: 22px 0; text-align: center;
}
.by-copy { margin: 0; font-size: .88rem; color: rgba(255,255,255,.55); }
.by-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.by-footer-menu a { color: rgba(255,255,255,.6); font-size: .88rem; }
.by-footer-menu a:hover { color: #fff; }

/* Mobil sabit hızlı erişim çubuğu */
.by-mobile-bar {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: rgba(255,255,255,.86);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-top: 1px solid rgba(15,39,64,.1);
	box-shadow: 0 -8px 24px rgba(15,39,64,.1);
	padding-bottom: env(safe-area-inset-bottom);
}
.by-mobile-bar__btn {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	padding: 10px 6px; font-size: .74rem; font-weight: 700; color: var(--by-navy);
}
.by-mobile-bar__btn .by-icon { width: 22px; height: 22px; }
.by-mobile-bar__btn--wa { color: #128c46; }
.by-mobile-bar__btn--quote { color: var(--by-accent); }
.by-mobile-bar__btn:active { background: rgba(15,39,64,.06); }

/* ---------------------- 13) Blog / Sayfa ------------------------- */
.by-page { display: grid; grid-template-columns: 1fr; gap: 40px; padding: clamp(40px, 6vw, 72px) 20px; }
.by-page__main--wide { grid-column: 1 / -1; }
.by-page-head { margin-bottom: 30px; }
.by-page-title { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.by-page-title span { color: var(--by-accent); }

.by-post-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.by-post-card {
	background: #fff; border: 1px solid var(--by-line); border-radius: var(--by-radius);
	overflow: hidden; box-shadow: var(--by-shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.by-post-card:hover { transform: translateY(-4px); box-shadow: var(--by-shadow); }
.by-post-card__thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.by-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.by-post-card__body { padding: 22px; }
.by-post-card__meta { font-size: .82rem; color: var(--by-muted); margin-bottom: 8px; }
.by-post-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.by-post-card__title a { color: var(--by-ink); }
.by-post-card__title a:hover { color: var(--by-accent); }
.by-post-card__excerpt { color: var(--by-muted); font-size: .95rem; margin-bottom: 14px; }
.by-post-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .9rem; color: var(--by-navy); }
.by-post-card__more:hover { color: var(--by-accent); }
.by-post-card__more .by-icon { width: 1.1em; height: 1.1em; }

/* Sidebar & widget */
.by-page__sidebar .widget {
	background: var(--by-bg); border: 1px solid var(--by-line); border-radius: var(--by-radius);
	padding: 22px; margin-bottom: 22px;
}
.widget-title { font-size: 1.05rem; margin-bottom: 14px; }
.by-page__sidebar ul { list-style: none; }
.by-page__sidebar li { padding: 6px 0; border-bottom: 1px solid var(--by-line); }

/* Prose (yazı içeriği) */
.by-prose { font-size: 1.05rem; color: var(--by-text); max-width: 760px; }
.by-prose h2, .by-prose h3 { margin-top: 1.6em; }
.by-prose img { border-radius: var(--by-radius); margin: 1.2em 0; }
.by-prose blockquote {
	border-left: 4px solid var(--by-accent); background: var(--by-bg);
	margin: 1.4em 0; padding: 16px 22px; border-radius: 0 12px 12px 0; color: var(--by-ink);
}
.by-prose a { text-decoration: underline; }
.by-single__thumb { border-radius: var(--by-radius-lg); overflow: hidden; margin-bottom: 30px; box-shadow: var(--by-shadow); }
.by-single__meta { font-size: .86rem; color: var(--by-muted); margin-bottom: 10px; }

/* Pagination */
.by-pagination { margin-top: 40px; }
.by-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.by-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--by-line); border-radius: 12px; background: #fff; color: var(--by-navy); font-weight: 700;
}
.by-pagination .page-numbers.current, .by-pagination .page-numbers:hover { background: var(--by-accent); color: #fff; border-color: var(--by-accent); }

/* Post nav & comments */
.by-post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0; flex-wrap: wrap; }
.by-post-nav a { font-weight: 700; color: var(--by-navy); }
.by-comments { margin-top: 40px; }
.by-comment-list { list-style: none; }
.by-comment-list .comment-body { background: var(--by-bg); border: 1px solid var(--by-line); border-radius: var(--by-radius); padding: 20px; margin-bottom: 16px; }

/* Empty & 404 */
.by-empty, .by-404 { text-align: center; max-width: 560px; margin: 40px auto; }
.by-404__code { font-family: var(--by-font-head); font-size: clamp(4rem, 16vw, 9rem); font-weight: 800; color: var(--by-accent); line-height: 1; }
.by-404__title { margin-top: 10px; }
.by-404__text { color: var(--by-muted); margin-bottom: 24px; }
.by-404__actions { display: flex; justify-content: center; margin-bottom: 26px; }

/* Search form */
.by-search { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.by-search__field { flex: 1; padding: 12px 16px; border: 1px solid var(--by-line); border-radius: 12px; background: var(--by-bg); font-size: 1rem; }
.by-search__field:focus { outline: none; border-color: var(--by-accent); }
.by-search__submit { display: grid; place-items: center; width: 48px; border: none; border-radius: 12px; background: var(--by-accent); color: #fff; }

/* ---------------------- 14) Animasyon & Responsive --------------- */
.by-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.by-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.by-reveal { opacity: 1; transform: none; transition: none; }
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Küçük telefon üstü */
@media (min-width: 480px) {
	.by-form__row { grid-template-columns: 1fr 1fr; }
	.by-footer-cta__inner { grid-template-columns: 1fr auto; text-align: left; align-items: center; }
	.by-footer-cta__actions { justify-content: flex-start; }
	.by-footer-cta__text { text-align: left; }
}

/* Tablet */
@media (min-width: 680px) {
	.by-services__grid { grid-template-columns: repeat(2, 1fr); }
	.by-why__grid { grid-template-columns: repeat(2, 1fr); }
	.by-process__list { grid-template-columns: repeat(2, 1fr); }
	.by-gallery__grid { grid-template-columns: repeat(2, 1fr); }
	.by-reviews__grid { grid-template-columns: repeat(2, 1fr); }
	.by-stats__grid { grid-template-columns: repeat(4, 1fr); }
	.by-footer-grid { grid-template-columns: 1.4fr 1.2fr 1.2fr; }
	.by-post-grid { grid-template-columns: repeat(2, 1fr); }
	.by-footer-bottom__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Masaüstü */
@media (min-width: 1024px) {
	:root { --by-header-h: 84px; }
	.by-hide-mobile { display: inline-flex; }
	.by-nav { display: block; }
	.by-nav-toggle { display: none; }
	.by-mobile-bar { display: none; }
	body { padding-bottom: 0 !important; }

	.by-services__grid { grid-template-columns: repeat(3, 1fr); }
	.by-why__inner { grid-template-columns: 340px 1fr; align-items: start; }
	.by-why__intro { position: sticky; top: 100px; }
	.by-process__list { grid-template-columns: repeat(4, 1fr); }
	.by-gallery__grid { grid-template-columns: repeat(3, 1fr); }
	.by-reviews__grid { grid-template-columns: repeat(3, 1fr); }
	.by-contact__inner { grid-template-columns: 1fr 1.1fr; align-items: start; }
	.by-page { grid-template-columns: 1fr 320px; }
	.by-post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobilde alt bar için gövde boşluğu */
@media (max-width: 1023.98px) {
	body { padding-bottom: 64px; }
}

/* Süreç adımları arası bağlantı çizgisi (masaüstü) */
@media (min-width: 1024px) {
	.by-step:not(:last-child)::after {
		content: ""; position: absolute; top: 50px; right: -13px; width: 26px; height: 2px;
		background: linear-gradient(90deg, var(--by-accent), transparent);
	}
}
