@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
	--rafine-bg: #fff5f5;
	--rafine-surface: #ffffff;
	--rafine-surface-strong: #ffd9dc;
	--rafine-text: #24090c;
	--rafine-muted: #6d4a4e;
	--rafine-accent: #d62839;
	--rafine-accent-dark: #a31322;
	--rafine-line: rgba(36, 9, 12, 0.12);
	--rafine-dark: #5d0f17;
	--rafine-dark-soft: #7a1722;
	--rafine-radius: 28px;
	--rafine-shadow: 0 22px 60px rgba(93, 15, 23, 0.12);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Manrope", "Segoe UI", sans-serif;
	color: var(--rafine-text);
	background:
		radial-gradient(circle at top left, rgba(214, 40, 57, 0.16), transparent 30%),
		linear-gradient(180deg, #fffafa 0%, #fff3f4 100%);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.site-shell {
	overflow: clip;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(18px);
	background: rgba(255, 250, 250, 0.9);
	border-bottom: 1px solid var(--rafine-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 86px;
}

.mobile-menu-toggle,
.mobile-menu {
	display: none;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
}

.site-branding__logo {
	flex: 0 0 auto;
}

.site-branding__logo img {
	width: auto;
	height: 56px;
	max-width: 180px;
	object-fit: contain;
}

.site-branding__title {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	font-family: "Sora", "Manrope", "Segoe UI", sans-serif;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.site-branding__tagline {
	margin: 2px 0 0;
	font-size: 0.86rem;
	color: var(--rafine-muted);
}

.menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a,
.footer-menu a {
	font-size: 0.95rem;
	color: var(--rafine-muted);
}

.site-header__cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 13px 22px;
	font-size: 0.95rem;
	font-weight: 700;
	transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header__cta,
.button--primary {
	background: var(--rafine-accent-dark);
	color: #fff8f8;
}

.button--secondary {
	border: 1px solid var(--rafine-line);
	background: rgba(255, 255, 255, 0.86);
}

.site-header__cta:hover,
.button:hover {
	transform: translateY(-1px);
}

.site-main {
	width: 100%;
}

.hero,
.section,
.page-shell {
	padding: 88px 0;
}

.hero__grid,
.split-layout,
.contact-panel,
.stats-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}

.eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rafine-accent-dark);
}

.hero h1,
.section-heading h2,
.split-layout__content h2,
.stats-copy h2,
.contact-panel__content h2,
.site-footer h2,
.entry-card__title {
	margin: 0 0 20px;
	font-size: clamp(2.2rem, 4vw, 4.8rem);
	line-height: 0.98;
	font-weight: 700;
	font-family: "Sora", "Manrope", "Segoe UI", sans-serif;
	letter-spacing: -0.04em;
}

.hero__lead,
.split-layout__content p,
.stats-copy p,
.contact-panel__content p,
.section-heading p {
	font-size: 1.05rem;
	color: var(--rafine-muted);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 30px 0;
}

.hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero__facts li {
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid var(--rafine-line);
	background: rgba(255, 255, 255, 0.72);
	font-size: 0.92rem;
}

.hero__visual {
	position: relative;
}

.media-placeholder {
	display: grid;
	place-items: center;
	min-height: 280px;
	padding: 24px;
	overflow: hidden;
	border-radius: var(--rafine-radius);
	border: 1px dashed rgba(8, 19, 29, 0.22);
	background:
		linear-gradient(135deg, rgba(214, 40, 57, 0.14), rgba(255, 255, 255, 0.94)),
		repeating-linear-gradient(-45deg, rgba(8, 19, 29, 0.04) 0, rgba(8, 19, 29, 0.04) 12px, transparent 12px, transparent 24px);
	box-shadow: var(--rafine-shadow);
	text-align: center;
}

.media-placeholder span {
	max-width: 260px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--rafine-muted);
}

.media-placeholder img {
	width: calc(100% + 48px);
	height: calc(100% + 48px);
	max-width: none;
	object-fit: cover;
	border-radius: inherit;
}

.media-placeholder--large {
	min-height: 640px;
}

.media-placeholder--tall {
	min-height: 560px;
}

.media-placeholder--wide {
	min-height: 220px;
}

.hero__stat-card,
.site-footer__card,
.timeline__item,
.service-card,
.stat-card,
.contact-panel__card,
.entry-card {
	background: rgba(255, 252, 252, 0.94);
	border: 1px solid rgba(93, 15, 23, 0.08);
	border-radius: var(--rafine-radius);
	box-shadow: var(--rafine-shadow);
}

.hero__stat-card {
	max-width: 240px;
	margin: -84px 0 0 auto;
	padding: 24px;
	position: relative;
}

.hero__stat-number {
	margin: 0 0 6px;
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1;
}

.trust-band {
	padding: 10px 0 28px;
}

.trust-band__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	padding: 28px 32px;
	border-radius: calc(var(--rafine-radius) + 8px);
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 225, 228, 0.96));
	border: 1px solid var(--rafine-line);
}

.trust-band__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.trust-item {
	padding: 18px;
	border-left: 1px solid var(--rafine-line);
}

.trust-item strong,
.service-card__index,
.timeline__item span {
	display: block;
	margin-bottom: 14px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--rafine-accent-dark);
	letter-spacing: 0.16em;
}

.feature-list {
	display: grid;
	gap: 16px;
	margin-top: 28px;
}

.feature-list__item {
	padding: 18px 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(93, 15, 23, 0.08);
}

.feature-list__item h3,
.service-card h3,
.timeline__item h3,
.entry-card__title {
	font-size: 1.35rem;
	font-family: "Manrope", "Segoe UI", sans-serif;
	line-height: 1.15;
}

.section-heading {
	max-width: 780px;
	margin-bottom: 30px;
}

.card-grid,
.timeline__grid,
.stats-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.service-card,
.timeline__item,
.stat-card,
.contact-panel__card,
.entry-card {
	padding: 28px;
}

.section--dark {
	background: linear-gradient(180deg, var(--rafine-dark) 0%, var(--rafine-dark-soft) 100%);
	color: #f8efe5;
}

.section-heading--light .eyebrow,
.section-heading--light p,
.section-heading--light h2,
.section--dark .media-placeholder span {
	color: inherit;
}

.section--dark .media-placeholder {
	border-color: rgba(245, 251, 255, 0.20);
	background:
		linear-gradient(135deg, rgba(214, 40, 57, 0.24), rgba(255, 255, 255, 0.08)),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 12px, transparent 12px, transparent 24px);
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 18px;
}

.gallery-grid > :first-child,
.gallery-grid > :last-child {
	grid-column: span 2;
}

.reference-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.reference-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(93, 15, 23, 0.08);
	box-shadow: var(--rafine-shadow);
}

.section--dark .reference-card {
	background: rgba(255, 255, 255, 0.98);
}

.reference-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 540 / 320;
	padding: 20px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 244, 245, 0.95), rgba(255, 255, 255, 1));
	border: 1px solid rgba(93, 15, 23, 0.08);
	overflow: hidden;
}

.reference-card__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.reference-card__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 16px;
	font-weight: 700;
	text-align: center;
	color: var(--rafine-accent-dark);
}

.reference-card__title {
	margin: 16px 0 0;
	font-size: 1.05rem;
	line-height: 1.35;
	text-align: center;
}

.section--dark .reference-card__title {
	color: var(--rafine-accent-dark);
}

.reference-empty {
	min-height: 220px;
}

.reference-section__action {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.reference-section__action .button--secondary {
	color: var(--rafine-accent-dark);
}

.section--accent {
	background: linear-gradient(180deg, rgba(214, 40, 57, 0.12), rgba(255, 255, 255, 0.82));
}

.stat-card strong {
	display: block;
	font-size: 2.6rem;
	line-height: 1;
	margin-bottom: 12px;
}

.button--full {
	width: 100%;
	margin-top: 12px;
}

.site-footer {
	padding: 72px 0 32px;
	background: var(--rafine-dark);
	color: #e8f4ff;
}

.site-footer .site-footer__card {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 30px;
	align-items: start;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 18px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.92rem;
	color: rgba(244, 231, 218, 0.74);
}

.inner-hero {
	padding: 36px 0 20px;
}

.inner-hero__grid,
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
}

.inner-hero h1 {
	margin-bottom: 14px;
	font-size: clamp(1.9rem, 3.2vw, 3.2rem);
	line-height: 1.02;
}

.inner-hero .hero__lead {
	margin: 0;
	font-size: 1rem;
}

.inner-hero .media-placeholder--tall {
	min-height: 360px;
}

.inner-hero--kurumsal,
.inner-hero--services,
.inner-hero--contact {
	padding: 20px 0 10px;
}

.inner-hero--kurumsal h1,
.inner-hero--services h1,
.inner-hero--contact h1 {
	font-size: clamp(1.65rem, 2.4vw, 2.45rem);
	line-height: 1.05;
	margin-bottom: 10px;
}

.inner-hero--kurumsal .hero__lead,
.inner-hero--services .hero__lead,
.inner-hero--contact .hero__lead {
	font-size: 0.96rem;
}

.inner-hero--kurumsal .media-placeholder--tall {
	min-height: 250px;
}

.inner-hero--services .media-placeholder--tall {
	min-height: 230px;
}

.inner-hero--services .inner-hero__grid {
	grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
}

.inner-hero--services .inner-hero__content {
	order: 1;
}

.inner-hero--services .inner-hero__media {
	order: 2;
}

.inner-hero--services .media-placeholder--tall {
	min-height: 185px;
	max-width: 360px;
	margin-left: auto;
	padding: 12px;
}

.inner-hero--services .media-placeholder--tall img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.inner-hero--contact .media-placeholder--tall {
	min-height: 145px;
	max-width: 380px;
	margin-left: auto;
	padding: 12px;
}

.inner-hero--contact .media-placeholder--tall img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.contact-grid .media-placeholder--tall {
	min-height: 185px;
	max-width: 380px;
	margin-left: auto;
	padding: 12px;
}

.inner-hero--contact .inner-hero__grid,
.contact-grid {
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.inner-hero--references .inner-hero__media {
	max-width: 380px;
	margin-left: auto;
	padding: 16px;
}

.inner-hero--references .inner-hero__media img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.contact-grid .media-placeholder--tall img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.contact-map-card {
	position: relative;
	min-height: 380px;
	border-radius: var(--rafine-radius);
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(93, 15, 23, 0.08);
	box-shadow: var(--rafine-shadow);
}

.contact-map-card__label {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(163, 19, 34, 0.92);
	color: #fff8f8;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.contact-map-card__frame {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: 0;
}

.service-stack {
	display: grid;
	gap: 24px;
}

.service-panel {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 24px;
	align-items: center;
	padding: 28px;
	border-radius: var(--rafine-radius);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(93, 15, 23, 0.08);
	box-shadow: var(--rafine-shadow);
}

.service-panel__media {
	min-height: 0;
	aspect-ratio: 4 / 3;
}

.service-panel__media img {
	width: calc(100% + 48px);
	height: calc(100% + 48px);
}

.mobile-menu {
	border-top: 1px solid var(--rafine-line);
	background: rgba(255, 250, 250, 0.97);
	backdrop-filter: blur(20px);
}

.mobile-menu__inner {
	padding: 20px 0 24px;
}

.mobile-menu__list,
.mobile-menu .menu {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu__list a,
.mobile-menu .menu a {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--rafine-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--rafine-text);
	font-weight: 600;
}

.mobile-menu__cta {
	width: 100%;
	margin-top: 16px;
}

.service-panel h2 {
	margin: 0 0 12px;
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1;
	font-family: "Sora", "Manrope", "Segoe UI", sans-serif;
	letter-spacing: -0.03em;
}

.logo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.page-content {
	max-width: 920px;
}

.entry-card + .entry-card {
	margin-top: 24px;
}

.entry-card__title {
	font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.entry-card__meta,
.entry-card__excerpt,
.entry-card__content {
	color: var(--rafine-muted);
}

@media (max-width: 1024px) {
	.site-header__inner,
	.hero__grid,
	.split-layout,
	.contact-panel,
	.stats-grid,
	.site-footer__grid,
	.trust-band__grid,
	.inner-hero__grid,
	.contact-grid,
	.service-panel {
		grid-template-columns: 1fr;
	}

	.site-header__inner {
		padding: 14px 0;
		min-height: auto;
		position: relative;
	}

	.site-nav {
		display: none;
	}

	.site-header__cta {
		display: none;
	}

	.mobile-menu-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 1px solid var(--rafine-line);
		border-radius: 18px;
		background: rgba(255, 255, 255, 0.82);
		cursor: pointer;
	}

	.mobile-menu-toggle__line {
		display: block;
		width: 18px;
		height: 2px;
		margin: 0 auto;
		background: var(--rafine-text);
		border-radius: 999px;
		transition: transform 180ms ease, opacity 180ms ease;
	}

	body.menu-open .mobile-menu {
		display: block;
	}

	body.menu-open .mobile-menu-toggle__line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	body.menu-open .mobile-menu-toggle__line:nth-child(2) {
		opacity: 0;
	}

	body.menu-open .mobile-menu-toggle__line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.card-grid,
	.timeline__grid,
	.stats-cards,
	.trust-band__items,
	.gallery-grid,
	.logo-grid,
	.reference-grid {
		grid-template-columns: 1fr 1fr;
	}

	.gallery-grid > :first-child,
	.gallery-grid > :last-child {
		grid-column: auto;
	}

	.hero__stat-card {
		margin-top: 18px;
		margin-left: 0;
		max-width: 100%;
	}

	.hero h1,
	.section-heading h2,
	.split-layout__content h2,
	.stats-copy h2,
	.contact-panel__content h2,
	.site-footer h2,
	.entry-card__title {
		font-size: clamp(2rem, 6vw, 3.4rem);
	}
}

@media (max-width: 720px) {
	.hero,
	.section,
	.page-shell,
	.inner-hero {
		padding: 52px 0 20px;
	}

	.container {
		width: min(100% - 24px, 1180px);
	}

	.card-grid,
	.timeline__grid,
	.stats-cards,
	.trust-band__items,
	.gallery-grid,
	.logo-grid,
	.reference-grid {
		grid-template-columns: 1fr;
	}

	.site-header__inner,
	.site-branding,
	.hero__actions,
	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-branding {
		width: calc(100% - 68px);
		align-items: flex-start;
	}

	.site-branding__title {
		font-size: 1.2rem;
	}

	.site-branding__logo img {
		height: 48px;
		max-width: 150px;
	}

	.site-branding__tagline {
		font-size: 0.8rem;
	}

	.mobile-menu-toggle {
		position: absolute;
		top: 12px;
		right: 0;
	}

	.media-placeholder--large {
		min-height: 320px;
	}

	.media-placeholder--tall {
		min-height: 280px;
	}

	.inner-hero .media-placeholder--tall {
		min-height: 240px;
	}

	.inner-hero--kurumsal,
	.inner-hero--services,
	.inner-hero--contact {
		padding: 18px 0 8px;
	}

	.inner-hero--kurumsal .media-placeholder--tall {
		min-height: 210px;
	}

	.inner-hero--kurumsal .inner-hero__grid,
	.inner-hero--contact .inner-hero__grid,
	.inner-hero .inner-hero__grid {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.inner-hero--kurumsal .inner-hero__content,
	.inner-hero--contact .inner-hero__content,
	.inner-hero .inner-hero__content {
		order: 1;
		width: 100%;
	}

	.inner-hero--kurumsal .inner-hero__media,
	.inner-hero--contact .inner-hero__media,
	.inner-hero .inner-hero__media {
		order: 2;
		width: 100%;
		max-width: 100%;
	}

	.inner-hero--references .inner-hero__media {
		margin: 0;
	}

	.inner-hero--services .media-placeholder--tall {
		min-height: 150px;
		max-width: 320px;
		margin: 0 auto;
	}

	.inner-hero--services .inner-hero__grid {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.inner-hero--services .inner-hero__content {
		order: 1;
		width: 100%;
	}

	.inner-hero--services .inner-hero__media {
		order: 2;
		width: 100%;
		max-width: 100%;
	}

	.inner-hero--services h1 {
		font-size: 1.9rem;
		line-height: 1.08;
	}

	.inner-hero--services .hero__lead {
		font-size: 0.98rem;
	}

	.inner-hero--services .media-placeholder--tall {
		width: 100%;
		max-width: 100%;
		min-height: 180px;
		margin: 0;
	}

	.inner-hero--contact .media-placeholder--tall {
		min-height: 118px;
		max-width: 320px;
		margin: 0 auto;
	}

	.inner-hero--kurumsal h1,
	.inner-hero--contact h1,
	.inner-hero h1 {
		font-size: 1.9rem;
		line-height: 1.08;
	}

	.inner-hero--kurumsal .hero__lead,
	.inner-hero--contact .hero__lead,
	.inner-hero .hero__lead {
		font-size: 0.98rem;
	}

	.inner-hero--kurumsal .media-placeholder--tall,
	.inner-hero--contact .media-placeholder--tall,
	.inner-hero .media-placeholder--tall {
		width: 100%;
		max-width: 100%;
		margin: 0;
	}

	.contact-grid .media-placeholder--tall {
		min-height: 150px;
		max-width: 320px;
		margin: 0 auto;
	}

	.contact-map-card,
	.contact-map-card__frame {
		min-height: 280px;
	}

	.hero__lead,
	.split-layout__content p,
	.stats-copy p,
	.contact-panel__content p,
	.section-heading p {
		font-size: 1rem;
	}

	.hero__actions .button,
	.contact-panel__card .button {
		width: 100%;
	}

	.hero__facts li {
		width: 100%;
		text-align: center;
	}

	.trust-band__grid,
	.service-card,
	.timeline__item,
	.stat-card,
	.contact-panel__card,
	.entry-card,
	.service-panel {
		padding: 22px;
	}

	.service-panel__media {
		aspect-ratio: 16 / 10;
	}

	.site-footer {
		padding-top: 56px;
	}

	.site-footer__grid {
		gap: 22px;
	}

	.footer-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.hero__stat-card {
		padding: 20px;
	}
}
