/* DigiPestControl — site footer (ön yüz, tüm index.php sayfaları) */

.dpc-footer {
	--ft-bg: #001115;
	--ft-bg-2: #00191f;
	--ft-line: rgba(255, 255, 255, 0.1);
	--ft-text: rgba(255, 255, 255, 0.74);
	--ft-muted: rgba(255, 255, 255, 0.58);
	--ft-strong: #fff;
	--ft-accent: #66defe;

	position: relative;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(0, 104, 124, 0.22), transparent 60%),
		linear-gradient(180deg, var(--ft-bg-2), var(--ft-bg));
	border-top: 1px solid rgba(102, 222, 254, 0.14);
	color: var(--ft-text);
	font-family: "Inter", "Open Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

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

.dpc-footer :is(h2, p, ul, address) {
	margin: 0;
	padding: 0;
}

.dpc-footer ul {
	list-style: none;
}

.dpc-footer address {
	font-style: normal;
}

.dpc-footer a {
	color: var(--ft-text);
	text-decoration: none;
	transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.dpc-footer a:hover {
	color: var(--ft-strong);
	text-decoration: underline;
	text-decoration-color: rgba(102, 222, 254, 0.7);
	text-underline-offset: 4px;
}

.dpc-footer :is(a, button):focus-visible {
	outline: 2px solid var(--ft-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.dpc-footer__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 72px clamp(16px, 4vw, 56px) 0;
}

.dpc-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.25fr);
	gap: 48px clamp(28px, 4vw, 64px);
	padding-bottom: 56px;
}

/* Araç sayfaları: ek "Ücretsiz araçlar" sütunu */
.dpc-footer__grid--tools {
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 1.1fr);
	column-gap: clamp(24px, 3vw, 48px);
}

.dpc-footer .dpc-footer__title-link {
	color: var(--ft-strong);
}

.dpc-footer__links a[aria-current="page"] {
	color: var(--ft-strong);
	font-weight: 600;
}

/* Marka sütunu */
.dpc-footer__logo {
	display: inline-block;
}

.dpc-footer__logo img {
	display: block;
	width: auto;
	height: 44px;
}

.dpc-footer__about {
	max-width: 46ch;
	margin-top: 20px !important;
	color: var(--ft-text);
	font-size: 16px;
	line-height: 1.7;
}

.dpc-footer__stores {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.dpc-footer .dpc-footer__store {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: var(--ft-strong);
	font-size: 15px;
	font-weight: 600;
}

.dpc-footer .dpc-footer__store:hover {
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
}

.dpc-footer__store svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.dpc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px !important;
}

.dpc-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
}

.dpc-footer__social a:hover {
	background: rgba(102, 222, 254, 0.18);
}

.dpc-footer__social img {
	display: block;
	width: 18px;
	height: 18px;
	filter: brightness(0) invert(1);
	opacity: 0.88;
}

/* Bağlantı sütunları */
.dpc-footer__title {
	margin-bottom: 18px !important;
	color: var(--ft-strong);
	font-family: "Manrope", "Inter", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.dpc-footer__links li + li {
	margin-top: 10px;
}

.dpc-footer__links a {
	display: inline-block;
	padding: 2px 0;
	font-size: 16px;
}

/* İletişim */
.dpc-footer__offices {
	display: grid;
	gap: 20px;
}

.dpc-footer__office {
	display: grid;
	gap: 4px;
	font-size: 15px;
	line-height: 1.6;
}

.dpc-footer__office strong {
	color: var(--ft-strong);
	font-size: 15px;
	font-weight: 600;
}

.dpc-footer__office span {
	color: var(--ft-muted);
}

.dpc-footer__office a {
	justify-self: start;
	color: var(--ft-text);
	font-variant-numeric: tabular-nums;
}

.dpc-footer .dpc-footer__mail {
	display: inline-block;
	margin-top: 20px;
	color: var(--ft-accent);
	font-weight: 600;
}

.dpc-footer .dpc-footer__mail:hover {
	color: #fff;
}

/* Alt bant */
.dpc-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"legal payments"
		"meta meta";
	align-items: center;
	gap: 18px 32px;
	padding: 28px 0 32px;
	border-top: 1px solid var(--ft-line);
	color: var(--ft-muted);
	font-size: 14px;
	line-height: 1.6;
}

.dpc-footer__legal {
	grid-area: legal;
}

.dpc-footer__legal p + p {
	margin-top: 2px !important;
}

.dpc-footer__meta {
	grid-area: meta;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}

.dpc-footer__meta a,
.dpc-footer .dpc-footer__meta button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ft-muted);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.dpc-footer .dpc-footer__meta button:hover {
	color: var(--ft-strong);
	text-decoration: underline;
	text-decoration-color: rgba(102, 222, 254, 0.7);
	text-underline-offset: 4px;
}

.dpc-footer__payments {
	grid-area: payments;
	display: block;
	width: auto;
	max-width: 100%;
	height: 26px;
	justify-self: end;
	object-fit: contain;
	object-position: right center;
	opacity: 0.9;
}

/* Duyarlı düzen */
@media (max-width: 1080px) {
	.dpc-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dpc-footer__brand {
		grid-column: 1 / -1;
	}

	.dpc-footer__about {
		max-width: 64ch;
	}
}

@media (max-width: 767px) {
	.dpc-footer__inner {
		padding-top: 56px;
	}

	.dpc-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
		padding-bottom: 40px;
	}

	.dpc-footer__contact {
		grid-column: 1 / -1;
	}

	.dpc-footer__offices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dpc-footer__bottom {
		grid-template-columns: 1fr;
		grid-template-areas:
			"meta"
			"legal"
			"payments";
		gap: 20px;
	}

	.dpc-footer__payments {
		justify-self: start;
		height: 22px;
		object-position: left center;
	}
}

@media (max-width: 480px) {
	.dpc-footer__offices {
		grid-template-columns: 1fr;
	}

	.dpc-footer__links a {
		padding: 4px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dpc-footer a {
		transition: none;
	}
}

/* WhatsApp bağlantısı (footer, iletişim sayfası, anasayfa iletişim bölümü) */
.dpc-wa-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.dpc-wa-link .dpc-wa-icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: #25d366;
}

.dpc-footer .dpc-footer__wa:hover .dpc-wa-icon,
.dpc-footer .dpc-footer__wa:focus .dpc-wa-icon {
	color: #4ae083;
}
