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

.rcs-footer {
	--green: #237a5c;
	--green-dark: #185b45;
	--ink: #181818;
	--text: #69726e;
	--line: #e2e9e5;
	--soft: #f7faf8;
	--white: #ffffff;

	position: relative;
	width: 100%;
	background: var(--soft);
	color: var(--ink);
	font-family: "Manrope", sans-serif;
}

.rcs-footer a {
	color: inherit;
	text-decoration: none;
}

.rcsf-container {
	width: min(calc(100% - 48px), 1320px);
	margin: 0 auto;
}

/* ÜST RENK ÇİZGİSİ */

.rcsf-color-line {
	height: 4px;
	background: linear-gradient(
		90deg,
		#00a85a 0%,
		#00a85a 20%,
		#14b8c8 20%,
		#14b8c8 40%,
		#6176e8 40%,
		#6176e8 60%,
		#ef4f91 60%,
		#ef4f91 80%,
		#ff8a34 80%,
		#ffc64d 100%
	);
}

/* ANA FOOTER */

.rcsf-main {
	display: grid;
	grid-template-columns:
		minmax(300px, 1.25fr)
		minmax(130px, .5fr)
		minmax(130px, .5fr)
		minmax(225px, .8fr);
	gap: 64px;
	align-items: start;
	padding: 55px 0 49px;
}

/* MARKA */

.rcsf-brand-column {
	min-width: 0;
}

.rcsf-brand-group {
	display: flex;
	align-items: center;
	gap: 17px;
	min-width: 0;
}

.rcsf-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.rcsf-brand img {
	display: block;
	width: 168px;
	height: auto;
	max-height: 56px;
	object-fit: contain;
}

.rcsf-codeai {
	display: inline-flex;
	align-items: center;
	gap: 17px;
	min-width: 0;
}

.rcsf-codeai::before {
	content: "";
	display: block;
	width: 1px;
	height: 31px;
	flex: 0 0 1px;
	background: var(--line);
}

.rcsf-codeai img {
	display: block;
	width: auto;
	height: 19px;
	max-width: 72px;
	object-fit: contain;
}

.rcsf-description {
	max-width: 390px;
	margin: 24px 0 0;
	color: var(--text);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.75;
}

/* BAĞLANTILAR */

.rcsf-group {
	min-width: 0;
}

.rcsf-heading {
	margin: 3px 0 17px;
	color: var(--green-dark);
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
}

.rcsf-link-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcsf-link-list li {
	margin: 0;
	padding: 0;
}

.rcsf-link-list a {
	display: inline-flex;
	padding: 2px 0;
	color: var(--text);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
	transition:
		color .2s ease,
		transform .2s ease;
}

.rcsf-link-list a:hover,
.rcsf-link-list a[aria-current="page"] {
	color: var(--green-dark);
	transform: translateX(2px);
}

/* İLETİŞİM */

.rcsf-contact {
	display: grid;
	gap: 11px;
	min-width: 0;
}

.rcsf-contact a,
.rcsf-contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.rcsf-contact a {
	transition: color .2s ease;
}

.rcsf-contact a:hover {
	color: var(--green-dark);
}

.rcsf-contact-icon {
	display: grid;
	width: 29px;
	height: 29px;
	flex: 0 0 29px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--green);
}

.rcsf-contact-icon svg {
	display: block;
	width: 13px;
	height: 13px;
}



/* SOSYAL MEDYA */
.rcsf-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}
.rcsf-socials a {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--green-dark);
	transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.rcsf-socials a:hover {
	border-color: var(--green);
	background: #eef7f2;
	transform: translateY(-2px);
}
.rcsf-socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ALT SATIR */

.rcsf-bottom-wrap {
	border-top: 1px solid var(--line);
	background: var(--white);
}

.rcsf-bottom {
	display: flex;
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #7a837f;
	font-size: 10.5px;
	line-height: 1.5;
}

.rcsf-legal {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 18px;
}

.rcsf-legal a {
	transition: color .2s ease;
}

.rcsf-legal a:hover {
	color: var(--green-dark);
}

/* TABLET */

@media (max-width: 1180px) and (min-width: 1025px) {
	.rcsf-container {
		width: min(calc(100% - 32px), 1320px);
	}

	.rcsf-main {
		grid-template-columns:
			minmax(270px, 1.1fr)
			minmax(115px, .45fr)
			minmax(115px, .45fr)
			minmax(205px, .72fr);
		gap: 34px;
	}

	.rcsf-brand img {
		width: 148px;
	}

	.rcsf-codeai img {
		height: 17px;
		max-width: 62px;
	}
}

@media (max-width: 1024px) {
	.rcsf-container {
		width: min(calc(100% - 36px), 1320px);
	}

	.rcsf-main {
		grid-template-columns:
			minmax(0, 1.2fr)
			minmax(0, .8fr);
		gap: 38px 56px;
		padding: 45px 0 40px;
	}

	.rcsf-brand-column {
		grid-column: 1 / -1;
	}

	.rcsf-description {
		max-width: 610px;
	}

	.rcsf-contact-group {
		grid-column: 1 / -1;
	}

	.rcsf-contact {
		grid-template-columns: repeat(3, max-content);
		gap: 11px 25px;
	}
}

/* MOBİL */

@media (max-width: 767px) {
	.rcsf-container {
		width: calc(100% - 28px);
	}

	.rcsf-color-line {
		height: 3px;
	}

	.rcsf-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 26px;
		padding: 34px 0 30px;
	}

	.rcsf-brand-column,
	.rcsf-contact-group {
		grid-column: 1 / -1;
	}

	.rcsf-brand-group {
		gap: 12px;
	}

	.rcsf-brand img {
		width: 132px;
		max-height: 47px;
	}

	.rcsf-codeai {
		gap: 11px;
	}

	.rcsf-codeai::before {
		height: 25px;
	}

	.rcsf-codeai img {
		height: 16px;
		max-width: 58px;
	}

	.rcsf-description {
		margin-top: 21px;
		font-size: 12px;
		line-height: 1.7;
	}

	.rcsf-group {
		margin-top: 28px;
		padding-top: 24px;
		border-top: 1px solid var(--line);
	}

	.rcsf-heading {
		margin-top: 0;
		margin-bottom: 14px;
	}

	.rcsf-link-list {
		gap: 8px;
	}

	.rcsf-contact-group {
		margin-top: 27px;
	}

	.rcsf-contact {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.rcsf-bottom {
		min-height: auto;
		padding: 17px 0 19px;
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.rcsf-legal {
		justify-content: flex-start;
		gap: 15px;
	}
}

@media (max-width: 390px) {
	.rcsf-main {
		grid-template-columns: 1fr;
	}

	.rcsf-brand img {
		width: 120px;
	}

	.rcsf-codeai img {
		height: 15px;
		max-width: 52px;
	}

	.rcsf-group {
		grid-column: 1;
	}
}

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