/* ═══════════════════════════════════════════════════════
   OTOGALERIO CORE — WHY US WIDGET
   ═══════════════════════════════════════════════════════ */

.ogc-why {
	--w-primary:   #1a3f92;
	--w-accent:    #e10c14;
	--w-accent-2:  #ff5252;
	--w-text:      #1e293b;
	--w-muted:     #64748b;
	--w-bg:        #ffffff;
	--w-bg-alt:    #f8fafc;
	--w-border:    #e2e8f0;
	--w-radius:    18px;

	position: relative;
	padding: 90px 24px;
	background: var(--w-bg);
	color: var(--w-text);
	font-family: inherit;
	overflow: hidden;
}

/* BG image variant */
.ogc-why--bg-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}
.ogc-why--bg-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15,22,41,.92) 0%, rgba(15,22,41,.78) 60%, rgba(15,22,41,.65) 100%);
	z-index: 0;
}
.ogc-why--bg-image .ogc-why__container { position: relative; z-index: 1; }
.ogc-why--bg-image .ogc-why__title,
.ogc-why--bg-image .ogc-why__card-title { color: #fff; }
.ogc-why--bg-image .ogc-why__subtitle,
.ogc-why--bg-image .ogc-why__card-desc { color: rgba(255,255,255,.78); }
.ogc-why--bg-image .ogc-why__card,
.ogc-why--bg-image .ogc-why__row {
	background: rgba(255,255,255,.05);
	border-color: rgba(255,255,255,.10);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.ogc-why--bg-image .ogc-why__card:hover {
	background: rgba(255,255,255,.10);
	border-color: var(--w-accent);
}
.ogc-why--bg-image .ogc-why__row:hover {
	background: rgba(255,255,255,.08);
}
.ogc-why--bg-image .ogc-why__feature { color: rgba(255,255,255,.92); }
.ogc-why--bg-image .ogc-why__num { color: rgba(255,82,82,.18); }
.ogc-why--bg-image .ogc-why__row .ogc-why__num { color: rgba(255,255,255,.10); }

.ogc-why__container {
	max-width: 1320px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* ─── Header ─── */
.ogc-why__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 56px;
}
.ogc-why__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 12px;
	font-weight: 700;
	color: var(--w-accent);
	text-transform: uppercase;
	letter-spacing: 0.13em;
}
.ogc-why__eyebrow::before,
.ogc-why__eyebrow::after {
	content: '';
	display: inline-block;
	width: 28px;
	height: 2px;
	background: var(--w-accent);
	border-radius: 1px;
}
.ogc-why__title {
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--w-primary);
	margin: 0 0 14px;
}
.ogc-why__title em {
	font-style: normal;
	background: linear-gradient(135deg, var(--w-accent) 0%, var(--w-accent-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.ogc-why__subtitle {
	font-size: 15px;
	line-height: 1.7;
	color: var(--w-muted);
	margin: 0;
}

/* ═══════════════════════════════════════════
   LAYOUT 1 — GRID CARDS (default)
   ═══════════════════════════════════════════ */
.ogc-why__grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), 1fr);
	gap: 26px;
}
.ogc-why__card {
	position: relative;
	background: var(--w-bg);
	border: 1px solid var(--w-border);
	border-radius: var(--w-radius);
	padding: 36px 30px 30px;
	overflow: hidden;
	transition: transform .35s cubic-bezier(.22,.61,.36,1),
				box-shadow .35s, border-color .35s;
}
.ogc-why__card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: 0 20px 40px -12px rgba(15,23,41,.18);
}
/* Big ghosted number behind */
.ogc-why__num {
	position: absolute;
	top: -12px;
	right: 14px;
	font-size: 100px;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: rgba(225,12,20,.10);
	line-height: 1;
	z-index: 0;
	pointer-events: none;
	transition: color .35s, transform .45s cubic-bezier(.22,.61,.36,1);
}
.ogc-why__card:hover .ogc-why__num {
	color: rgba(225,12,20,.18);
	transform: scale(1.05) rotate(-3deg);
}
/* Accent top line */
.ogc-why__card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--w-accent) 0%, var(--w-accent-2) 100%);
	border-radius: 0 0 4px 0;
	transition: width .45s cubic-bezier(.22,.61,.36,1);
}
.ogc-why__card:hover::before { width: 100%; }

.ogc-why__card-icon {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--w-accent) 0%, var(--w-accent-2) 100%);
	color: #fff;
	border-radius: 14px;
	margin-bottom: 18px;
	box-shadow: 0 8px 20px rgba(225,12,20,.32);
	transition: transform .35s cubic-bezier(.22,.61,.36,1), border-radius .35s;
}
.ogc-why__card:hover .ogc-why__card-icon {
	transform: rotate(-8deg) scale(1.06);
	border-radius: 50%;
}
.ogc-why__card-icon i,
.ogc-why__card-icon svg {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #fff !important;
	fill: #fff !important;
}
.ogc-why__card-icon svg path,
.ogc-why__card-icon svg circle,
.ogc-why__card-icon svg rect,
.ogc-why__card-icon svg polygon { fill: #fff !important; stroke: none; }

.ogc-why__card-title {
	position: relative;
	z-index: 1;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--w-primary);
	margin: 0 0 10px;
}
.ogc-why__card-desc {
	position: relative;
	z-index: 1;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--w-muted);
	margin: 0 0 16px;
}

.ogc-why__features {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.ogc-why__feature {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 500;
	color: var(--w-text);
	line-height: 1.4;
}
.ogc-why__feature::before {
	content: '✓';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	background: rgba(225,12,20,.14);
	color: var(--w-accent);
	border-radius: 50%;
	font-size: 9px;
	font-weight: 800;
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   LAYOUT 2 — NUMBERED ROWS (yatay row stack)
   ═══════════════════════════════════════════ */
.ogc-why__rows {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 880px;
	margin: 0 auto;
}
.ogc-why__row {
	position: relative;
	display: grid;
	grid-template-columns: 80px 1fr auto;
	gap: 26px;
	align-items: center;
	background: var(--w-bg);
	border: 1px solid var(--w-border);
	border-radius: var(--w-radius);
	padding: 24px 28px;
	transition: transform .3s cubic-bezier(.22,.61,.36,1),
				background .3s, border-color .3s, box-shadow .3s;
	cursor: default;
}
.ogc-why__row:hover {
	transform: translateX(6px);
	border-color: var(--w-accent);
	box-shadow: 0 12px 28px -10px rgba(15,23,41,.15);
}
.ogc-why__row .ogc-why__num {
	position: relative;
	font-size: 56px;
	color: rgba(225,12,20,.18);
	top: 0;
	right: 0;
	font-weight: 900;
	line-height: 1;
}
.ogc-why__row:hover .ogc-why__num {
	color: var(--w-accent);
	transform: none;
}
.ogc-why__row-content {
	min-width: 0;
}
.ogc-why__row-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--w-primary);
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.ogc-why__row-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: rgba(225,12,20,.12);
	color: var(--w-accent);
	border-radius: 8px;
	flex-shrink: 0;
	transition: background .3s, color .3s;
}
.ogc-why__row:hover .ogc-why__row-icon {
	background: var(--w-accent);
	color: #fff;
}
.ogc-why__row-icon i,
.ogc-why__row-icon svg { font-size: 14px; width: 14px; height: 14px; }
.ogc-why__row-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--w-muted);
	margin: 0;
}
.ogc-why__row-arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--w-bg-alt);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--w-accent);
	flex-shrink: 0;
	transition: background .3s, color .3s, transform .3s;
}
.ogc-why__row:hover .ogc-why__row-arrow {
	background: var(--w-accent);
	color: #fff;
	transform: rotate(-45deg);
}
.ogc-why__row-arrow svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════
   LAYOUT 3 — SPLIT (image left + reasons right)
   ═══════════════════════════════════════════ */
.ogc-why--split .ogc-why__container {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 60px;
	align-items: center;
}
.ogc-why--split .ogc-why__header {
	text-align: left;
	max-width: 100%;
	margin: 0 0 30px;
}
.ogc-why--split .ogc-why__eyebrow {
	justify-content: flex-start;
}
.ogc-why--split .ogc-why__eyebrow::after { display: none; }
.ogc-why__visual {
	position: relative;
}
.ogc-why__visual img {
	width: 100%;
	height: auto;
	min-height: 460px;
	max-height: 600px;
	object-fit: cover;
	border-radius: var(--w-radius);
	display: block;
}
.ogc-why__visual-badge {
	position: absolute;
	bottom: -20px;
	right: -20px;
	background: linear-gradient(135deg, var(--w-accent) 0%, var(--w-accent-2) 100%);
	color: #fff;
	padding: 22px 28px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	z-index: 2;
}
.ogc-why__visual-badge .num {
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
}
.ogc-why__visual-badge .lbl {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

/* ═══════════════════════════════════════════
   BOTTOM CTA (opsiyonel)
   ═══════════════════════════════════════════ */
.ogc-why__bottom {
	margin-top: 56px;
	text-align: center;
}
.ogc-why__bottom-text {
	font-size: 16px;
	color: var(--w-muted);
	margin: 0 0 16px;
}
.ogc-why--bg-image .ogc-why__bottom-text { color: rgba(255,255,255,.85); }
.ogc-why__bottom-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--w-accent);
	color: #fff;
	padding: 14px 30px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .25s, box-shadow .25s, background .25s;
	box-shadow: 0 8px 22px rgba(225,12,20,.40);
}
.ogc-why__bottom-btn i,
.ogc-why__bottom-btn svg {
	width: 14px; height: 14px; font-size: 14px;
	color: #fff !important;
	fill: #fff !important;
	transition: transform .25s;
}
.ogc-why__bottom-btn svg path,
.ogc-why__bottom-btn svg circle,
.ogc-why__bottom-btn svg rect,
.ogc-why__bottom-btn svg polygon { fill: #fff !important; }
.ogc-why__bottom-btn:hover {
	background: #fff;
	color: var(--w-primary);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.ogc-why__bottom-btn:hover i,
.ogc-why__bottom-btn:hover svg,
.ogc-why__bottom-btn:hover svg path { color: var(--w-primary) !important; fill: var(--w-primary) !important; }
.ogc-why__bottom-btn:hover svg { transform: translateX(4px); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
	.ogc-why { padding: 70px 24px; }
	.ogc-why__grid { grid-template-columns: repeat(2, 1fr); }
	.ogc-why--split .ogc-why__container { grid-template-columns: 1fr; gap: 40px; }
	.ogc-why--split .ogc-why__header { text-align: center; }
	.ogc-why--split .ogc-why__eyebrow { justify-content: center; }
	.ogc-why--split .ogc-why__eyebrow::after { display: inline-block; }
	.ogc-why__visual img { max-height: 420px; min-height: 320px; }
}

@media (max-width: 720px) {
	.ogc-why { padding: 56px 18px; }
	.ogc-why__header { margin-bottom: 36px; }
	.ogc-why__grid { grid-template-columns: 1fr; gap: 18px; }
	.ogc-why__card { padding: 30px 24px 24px; }
	.ogc-why__num { font-size: 76px; right: 10px; }
	.ogc-why__row {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 22px 22px;
		text-align: left;
	}
	.ogc-why__row .ogc-why__num { font-size: 42px; line-height: 0.8; margin-bottom: -6px; }
	.ogc-why__row-arrow { display: none; }
	.ogc-why__visual-badge { padding: 14px 18px; right: 10px; bottom: -14px; }
	.ogc-why__visual-badge .num { font-size: 28px; }
}

@media (max-width: 420px) {
	.ogc-why__card { padding: 28px 20px 22px; }
	.ogc-why__card-icon { width: 48px; height: 48px; }
	.ogc-why__card-icon i, .ogc-why__card-icon svg { font-size: 20px; width: 20px; height: 20px; }
	.ogc-why__card-title { font-size: 17px; }
	.ogc-why__num { font-size: 64px; }
}
