/* Evde Doktorum — Rich Footer v4 (SEO monster, landing-page rich) */

.ed-footer {
	background:
		radial-gradient(900px 500px at 90% 0%, rgba(68, 87, 199, 0.5) 0%, transparent 55%),
		radial-gradient(700px 400px at 5% 30%, rgba(26, 204, 191, 0.22) 0%, transparent 55%),
		linear-gradient(180deg, #0a0f1e 0%, #111a5c 50%, #0b1235 100%);
	position: relative;
	overflow: hidden;
	margin-top: auto;
	color: rgba(255, 255, 255, 0.78);
}
.ed-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(180deg, transparent, #000 15%, #000 80%, transparent);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 80%, transparent);
	pointer-events: none;
}

/* ===== CTA LAYER (üstte) ===== */
.ed-footer__cta-layer { padding-block: var(--ed-s7) 0; position: relative; }
.ed-footer__cta-wrap {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--ed-r-xl);
	padding: clamp(28px, 4vw, 56px);
	display: grid;
	gap: var(--ed-s6);
	align-items: center;
	backdrop-filter: blur(18px) saturate(180%);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	position: relative;
	overflow: hidden;
}
.ed-footer__cta-wrap::before {
	content: "";
	position: absolute;
	inset: auto -80px -80px auto;
	width: 320px; height: 320px;
	background: radial-gradient(circle, rgba(26, 204, 191, 0.3) 0%, transparent 60%);
	pointer-events: none;
}
@media (min-width: 900px) { .ed-footer__cta-wrap { grid-template-columns: 1.5fr 1fr; } }
.ed-footer__cta-wrap h3 {
	color: #fff;
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
	margin: 0 0 12px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 800;
}
.ed-footer__cta-wrap h3 em {
	font-style: normal;
	background: linear-gradient(135deg, #1accbf 0%, #6a7bda 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.ed-footer__cta-wrap p { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: var(--ed-fs-md); line-height: 1.6; }
.ed-footer__cta-actions { display: flex; gap: var(--ed-s3); flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 2; }
@media (max-width: 899px) { .ed-footer__cta-actions { justify-content: flex-start; } }

/* ===== MAIN CONTENT ===== */
.ed-footer__main { padding-block: var(--ed-s7) var(--ed-s6); position: relative; z-index: 1; }

/* Hero row: brand card + big CTA side by side */
.ed-footer__hero-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ed-s5);
	margin-bottom: var(--ed-s7);
}
@media (min-width: 900px) { .ed-footer__hero-row { grid-template-columns: 1fr 1.2fr; } }

.ed-footer__brand-card {
	padding: var(--ed-s6);
	background: linear-gradient(180deg, rgba(26, 204, 191, 0.1) 0%, rgba(68, 87, 199, 0.05) 100%);
	border: 1px solid rgba(26, 204, 191, 0.25);
	border-radius: var(--ed-r-lg);
	display: flex;
	flex-direction: column;
	gap: var(--ed-s4);
}
.ed-footer__brand-card img,
.ed-footer__logo {
	align-self: flex-start;
	display: inline-block;
	max-height: 52px;
	max-width: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.ed-footer__tagline { font-size: var(--ed-fs-sm); color: rgba(255, 255, 255, 0.82); line-height: 1.65; margin: 0; }

.ed-footer__social { display: flex; gap: 8px; margin-top: auto; }
.ed-footer__social a {
	width: 40px; height: 40px;
	border-radius: var(--ed-r-sm);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: inline-flex; align-items: center; justify-content: center;
	transition: all .22s var(--ed-ease);
}
.ed-footer__social a svg { width: 18px; height: 18px; color: #fff; }
.ed-footer__social a:hover {
	background: var(--ed-accent); border-color: var(--ed-accent);
	transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 204, 191, 0.35);
}
.ed-footer__social a:hover svg { color: var(--ed-primary); }

/* Big CTA card */
.ed-footer__big-cta {
	padding: var(--ed-s6);
	background: linear-gradient(135deg, rgba(68, 87, 199, 0.2) 0%, rgba(25, 34, 115, 0.35) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--ed-r-lg);
	display: flex;
	flex-direction: column;
	gap: var(--ed-s3);
	position: relative;
	overflow: hidden;
}
.ed-footer__big-cta::before {
	content: "";
	position: absolute;
	inset: auto -60px -60px auto;
	width: 240px; height: 240px;
	background: radial-gradient(circle, rgba(26, 204, 191, 0.25) 0%, transparent 60%);
	pointer-events: none;
}
.ed-footer__big-cta-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--ed-fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ed-accent);
}
.ed-footer__live-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
	animation: ed-pulse 1.8s infinite;
}
.ed-footer__big-cta h3 {
	color: #fff;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	line-height: 1.2;
	margin: 0;
	letter-spacing: -0.02em;
	font-weight: 800;
}
.ed-footer__big-cta h3 em {
	font-style: normal;
	background: linear-gradient(135deg, var(--ed-accent) 0%, #6a7bda 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.ed-footer__big-cta p { color: rgba(255, 255, 255, 0.78); font-size: var(--ed-fs-sm); line-height: 1.6; margin: 0; }
.ed-footer__big-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; position: relative; z-index: 2; }

/* ===== SERVICES ROW (grid of icon cards) ===== */
.ed-footer__services-row,
.ed-footer__areas-row { margin-bottom: var(--ed-s7); }

.ed-footer__section-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: var(--ed-s5);
}
.ed-footer__section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ed-accent);
	font-weight: 700;
}
.ed-footer__section-head h4 {
	color: #fff;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	margin: 0;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ed-footer__svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px;
}

.ed-footer__svc-card {
	display: grid;
	grid-template-columns: 36px 1fr 16px;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--ed-r-md);
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: all .22s var(--ed-ease);
}
.ed-footer__svc-card:hover {
	background: rgba(26, 204, 191, 0.12);
	border-color: rgba(26, 204, 191, 0.45);
	transform: translateY(-2px);
	color: #fff;
}
.ed-footer__svc-icon {
	width: 36px; height: 36px;
	border-radius: var(--ed-r-sm);
	background: linear-gradient(135deg, rgba(26, 204, 191, 0.25) 0%, rgba(68, 87, 199, 0.2) 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ed-accent);
	transition: all .22s var(--ed-ease);
}
.ed-footer__svc-icon svg { width: 18px; height: 18px; }
.ed-footer__svc-card:hover .ed-footer__svc-icon {
	background: var(--ed-accent);
	color: var(--ed-primary);
}
.ed-footer__svc-label { font-size: var(--ed-fs-sm); font-weight: 600; line-height: 1.35; }
.ed-footer__svc-arrow { color: rgba(255, 255, 255, 0.35); transition: all .22s var(--ed-ease); }
.ed-footer__svc-card:hover .ed-footer__svc-arrow { color: var(--ed-accent); transform: translate(2px, -2px); }

/* ===== AREAS ROW (pill grid) ===== */
.ed-footer__areas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 8px;
}

.ed-footer__area-card {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--ed-r-full);
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: all .22s var(--ed-ease);
}
.ed-footer__area-card:hover {
	background: var(--ed-accent);
	border-color: var(--ed-accent);
	color: var(--ed-primary);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(26, 204, 191, 0.3);
}
.ed-footer__area-pin {
	color: var(--ed-accent);
	display: inline-flex;
	flex-shrink: 0;
	transition: color .22s var(--ed-ease);
}
.ed-footer__area-card:hover .ed-footer__area-pin { color: var(--ed-primary); }

/* ===== LINKS ROW (4 col bottom) ===== */
.ed-footer__links-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--ed-s5);
	padding-top: var(--ed-s6);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-footer__links-col h5 {
	color: #fff;
	font-size: var(--ed-fs-sm);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 var(--ed-s3);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ed-footer__links-col h5::before {
	content: "";
	width: 20px; height: 2px;
	background: var(--ed-accent);
	border-radius: 2px;
}
.ed-footer__links-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ed-footer__links-col a,
.ed-footer__links-col span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	font-size: var(--ed-fs-sm);
	transition: all .22s var(--ed-ease);
}
.ed-footer__links-col a:hover { color: var(--ed-accent); transform: translateX(3px); }
.ed-footer__links-col svg { color: var(--ed-accent); width: 14px; height: 14px; flex-shrink: 0; }
.ed-footer__links-col--contact strong { color: #fff; font-weight: 700; }

/* Newsletter mini in links row */
.ed-footer__links-col--newsletter { background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(26, 204, 191, 0.25); border-radius: var(--ed-r-md); padding: var(--ed-s4); }
.ed-footer__links-col--newsletter p { font-size: var(--ed-fs-sm); color: rgba(255, 255, 255, 0.7); line-height: 1.55; margin: 0 0 10px; }

.ed-footer__nl-form { display: flex; gap: 6px; flex-wrap: wrap; }
.ed-footer__nl-form input {
	flex: 1 1 140px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--ed-r-sm);
	color: #fff;
	font-size: var(--ed-fs-sm);
	transition: all .2s var(--ed-ease);
}
.ed-footer__nl-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.ed-footer__nl-form input:focus {
	outline: none;
	border-color: var(--ed-accent);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 0 3px rgba(26, 204, 191, 0.2);
}
.ed-footer__nl-form button {
	padding: 10px 14px;
	background: var(--ed-accent);
	color: var(--ed-primary);
	border: 0;
	border-radius: var(--ed-r-sm);
	font-weight: 700;
	cursor: pointer;
	transition: all .2s var(--ed-ease);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ed-footer__nl-form button:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26, 204, 191, 0.3); }

/* ========== TRUST STRIP ========== */
.ed-footer__trust {
	padding-block: var(--ed-s6);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.22);
	position: relative;
	z-index: 1;
}
.ed-footer__trust-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--ed-s4);
}
.ed-footer__trust-item {
	display: flex;
	align-items: center;
	gap: var(--ed-s3);
	padding: var(--ed-s3) var(--ed-s4);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--ed-r-md);
	color: rgba(255, 255, 255, 0.85);
	transition: all .22s var(--ed-ease);
}
.ed-footer__trust-item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(26, 204, 191, 0.4); transform: translateY(-2px); }
.ed-footer__trust-item > svg {
	width: 28px; height: 28px;
	flex: 0 0 28px;
	color: var(--ed-accent);
	padding: 4px;
	background: rgba(26, 204, 191, 0.15);
	border-radius: var(--ed-r-sm);
	box-sizing: content-box;
}
.ed-footer__trust-item-text { display: flex; flex-direction: column; gap: 2px; }
.ed-footer__trust-item strong { color: #fff; font-size: var(--ed-fs-sm); font-weight: 700; display: block; line-height: 1.2; }
.ed-footer__trust-item span { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

/* ========== TAG CLOUD ========== */
.ed-footer__tagcloud-wrap { padding-block: var(--ed-s5); border-bottom: 1px solid rgba(255, 255, 255, 0.06); position: relative; z-index: 1; }
.ed-footer__tagcloud-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: var(--ed-s3);
}
.ed-footer__tagcloud-title::before { content: ""; width: 20px; height: 2px; background: var(--ed-accent); border-radius: 2px; }
.ed-footer__tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-footer__tagcloud a {
	padding: 4px 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
	border-radius: var(--ed-r-full);
	font-size: 11px;
	font-weight: 500;
	transition: all var(--ed-dur) var(--ed-ease);
	text-decoration: none;
}
.ed-footer__tagcloud a:hover { background: var(--ed-accent); color: var(--ed-primary); border-color: var(--ed-accent); transform: translateY(-1px); }

/* ========== BOTTOM BAR ========== */
.ed-footer__bottom {
	padding-block: var(--ed-s5);
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: var(--ed-s3);
	font-size: var(--ed-fs-sm);
	color: rgba(255, 255, 255, 0.55);
	text-align: center;
	position: relative;
	z-index: 1;
}
@media (min-width: 900px) { .ed-footer__bottom { grid-template-columns: 1fr auto 1fr; text-align: start; } .ed-footer__bottom .ed-footer__credit { justify-content: flex-end; } }

.ed-footer__legal { display: flex; gap: var(--ed-s4); flex-wrap: wrap; justify-content: center; }
.ed-footer__legal a { color: rgba(255, 255, 255, 0.55); font-size: var(--ed-fs-xs); transition: color var(--ed-dur) var(--ed-ease); position: relative; }
.ed-footer__legal a:not(:last-child)::after { content: "·"; position: absolute; inset-inline-end: -10px; color: rgba(255, 255, 255, 0.2); }
.ed-footer__legal a:hover { color: var(--ed-accent); }

.ed-footer__credit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
}
.ed-footer__credit a { display: inline-flex; align-items: center; }
.ed-footer__credit-logo { height: 18px; width: auto; opacity: 0.85; transition: all var(--ed-dur) var(--ed-ease); }
.ed-footer__credit a:hover .ed-footer__credit-logo { opacity: 1; transform: translateY(-1px); }

/* ========== Ghost light btn (for dark backgrounds) ========== */
.ed-btn--ghost-light {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: none;
}
.ed-btn--ghost-light:hover { background: #fff; color: var(--ed-primary); border-color: #fff; }
