/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ==========================================================================
   Otis · Avada özel stilleri — v1
   Avada 7.14 · Zümrüt renk şeması

   NEREYE:  Avada Child teması › style.css dosyasının sonuna yapıştırın.
            (Alternatif: Avada › Options › Custom CSS — ama child tema tercih edilir,
             kod veritabanı yerine dosyada durur, yedeklenir ve taşınabilir.)

   NE İÇİN: Avada'da hazır karşılığı olmayan bileşenler burada tanımlıdır —
            destek özeti kartı, oran halkası, süreç çizelgesi, destek kalemi
            kartları, kıyaslama sütunları, kayan şerit, sayı bandı.
            Başlık/metin/buton gibi standart parçalar Avada'nın kendi
            elemanlarıyla kurulacak, onlar için CSS yazılmadı.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Renkler */
:root {
	--otis-brand-50: #eef8f7;
	--otis-brand-100: #d8eeec;
	--otis-brand-200: #b2ddd9;
	--otis-brand-300: #81c7c1;
	--otis-brand-400: #47aea5;
	--otis-brand-500: #0d9488;
	--otis-brand-600: #0b8278;
	--otis-brand-700: #0a6e65;
	--otis-brand-800: #085c54;
	--otis-brand-900: #103f3c;
	--otis-accent: #34d399;

	--otis-ink: #0f172a;
	--otis-body: #475569;
	--otis-muted: #64748b;
	--otis-line: rgba(16, 63, 60, 0.09);
	--otis-line-strong: rgba(16, 63, 60, 0.16);

	--otis-shadow-sm: 0 2px 12px rgba(16, 63, 60, 0.05);
	--otis-shadow-md: 0 12px 40px rgba(16, 63, 60, 0.12);
	--otis-shadow-lg: 0 24px 64px rgba(16, 63, 60, 0.14);

	--otis-radius: 16px;
	--otis-radius-lg: 20px;
	--otis-radius-pill: 999px;

	--otis-hero-bg: linear-gradient(150deg, #eef8f7, #f5fbfa 30%, #effbf7, #f3faf9);
	--otis-soft-bg: linear-gradient(160deg, #f1f9f8, #ecf6f6 60%, #f3fcf9);
	--otis-title-grad: linear-gradient(135deg, #103f3c, #0d9488 55%, #34d399);
}

/* Başlıklarda renkli kısım: Avada başlık elemanında <span class="grad">…</span> */
.grad {
	background: var(--otis-title-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Bölüm üstü küçük rozet (Avada metin elemanı içine <span class="otis-badge">) */
.otis-badge {
	display: inline-block;
	padding: 5px 14px;
	background: linear-gradient(135deg, rgba(16, 63, 60, 0.06), rgba(52, 211, 153, 0.1));
	border: 1px solid rgba(52, 211, 153, 0.35);
	border-radius: var(--otis-radius-pill);
	color: var(--otis-brand-900);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.6;
}

.otis-eyebrow {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--otis-brand-600);
	margin-bottom: 6px;
}

/* Açık zeminli bölüm — Avada Container'a "otis-soft" CSS sınıfı verin */
.otis-soft {
	background: var(--otis-soft-bg) !important;
}

.otis-hero-bg {
	background: var(--otis-hero-bg) !important;
}

/* ------------------------------------------- 2. Hero: destek özeti kartı */
.otis-summary {
	position: relative;
	max-width: 560px;
	margin-inline-start: auto;
}

.otis-summary__card {
	background: #fff;
	border: 1px solid var(--otis-line);
	border-radius: var(--otis-radius-lg);
	box-shadow: var(--otis-shadow-lg);
	padding: 34px 26px 48px;
}

.otis-summary__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--otis-line);
}

.otis-summary__badge {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--otis-brand-800), var(--otis-accent));
	color: #fff;
	font-size: 20px;
}

.otis-summary__title {
	flex: 1;
	min-width: 0;
}

.otis-summary__title b {
	display: block;
	font-size: 1.02rem;
	color: var(--otis-ink);
	line-height: 1.3;
}

.otis-summary__title > span {
	display: block;
	font-size: 0.82rem;
	color: var(--otis-muted);
}

.otis-summary__chip {
	flex: none;
	font-size: 0.72rem;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: var(--otis-radius-pill);
	background: #dcfce7;
	color: #15803d;
}

.otis-summary__calc {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px dashed var(--otis-line-strong);
}

.otis-ring {
	position: relative;
	width: 132px;
	height: 132px;
	flex: none;
}

.otis-ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.otis-ring__bg {
	fill: none;
	stroke: rgba(13, 148, 136, 0.14);
	stroke-width: 13;
}

.otis-ring__fg {
	fill: none;
	stroke: var(--otis-brand-500);
	stroke-width: 13;
	stroke-linecap: round;
	stroke-dasharray: 326.7;
	stroke-dashoffset: 98; /* %70 dolu — oranı değiştirmek için: 326.7 × (1 − oran) */
	animation: otis-ring-fill 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.otis-ring__label {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	text-align: center;
}

.otis-ring__label b {
	display: block;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--otis-brand-800);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.otis-ring__label span {
	font-size: 0.74rem;
	color: var(--otis-muted);
}

.otis-summary__rows {
	flex: 1;
	min-width: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.otis-summary__rows div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.otis-summary__rows dt {
	font-size: 0.85rem;
	color: var(--otis-muted);
	margin: 0;
}

.otis-summary__rows dd {
	margin: 0;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--otis-ink);
	white-space: nowrap;
}

.otis-summary__rows .is-total {
	padding-top: 12px;
	border-top: 1px solid var(--otis-line);
}

.otis-summary__rows .is-total dt {
	color: var(--otis-ink);
	font-weight: 600;
}

.otis-summary__rows .is-total dd {
	font-size: 1.2rem;
	color: var(--otis-brand-600);
}

/* süreç çizelgesi */
.otis-track {
	list-style: none;
	margin: 0;
	padding: 22px 0 0;
	display: grid;
	gap: 16px;
}

.otis-track li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.otis-track li:not(:last-child)::before {
	content: "";
	position: absolute;
	inset-inline-start: 12px;
	top: 26px;
	width: 2px;
	height: calc(100% - 10px);
	background: var(--otis-line-strong);
}

.otis-track__pip {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--otis-line-strong);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	z-index: 1;
}

.otis-track .is-done .otis-track__pip {
	background: var(--otis-brand-500);
	border-color: var(--otis-brand-500);
}

.otis-track .is-active .otis-track__pip {
	border-color: var(--otis-accent);
	box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
	animation: otis-pulse-ring 2s ease-in-out infinite;
}

.otis-track__text {
	flex: 1;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.otis-track__text b {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--otis-ink);
}

.otis-track li:not(.is-done):not(.is-active) .otis-track__text b {
	color: var(--otis-muted);
	font-weight: 500;
}

.otis-track__text span {
	font-size: 0.78rem;
	color: var(--otis-muted);
	white-space: nowrap;
}

/* karta iliştirilen yüzen rozetler */
.otis-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--otis-line);
	border-radius: var(--otis-radius);
	box-shadow: 0 10px 30px rgba(16, 63, 60, 0.12);
	animation: otis-float 4s ease-in-out infinite;
	z-index: 2;
}

.otis-float__icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	flex: none;
	font-size: 15px;
}

.otis-float b {
	display: block;
	font-size: 0.83rem;
	color: var(--otis-ink);
	line-height: 1.35;
}

.otis-float > span:last-child > span {
	display: block;
	font-size: 0.75rem;
	color: var(--otis-muted);
}

.otis-float--top {
	top: -18px;
	inset-inline-end: -12px;
	animation-delay: 2s;
}

.otis-float--bottom {
	bottom: -16px;
	inset-inline-start: -14px;
}

.otis-float--top .otis-float__icon {
	background: #fef3c7;
	color: #b45309;
}

.otis-float--bottom .otis-float__icon {
	background: #dcfce7;
	color: #15803d;
}

/* ----------------------------------------------- 3. Destek kalemi kartları */
.otis-prog {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--otis-line);
	border-radius: var(--otis-radius-lg);
	padding: 28px 26px;
	box-shadow: var(--otis-shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	height: 100%;
}

.otis-prog:hover {
	transform: translateY(-4px);
	box-shadow: var(--otis-shadow-md);
	border-color: rgba(52, 211, 153, 0.35);
}

.otis-prog__badge {
	position: absolute;
	top: 18px;
	inset-inline-end: 18px;
	font-size: 0.68rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--otis-radius-pill);
	background: rgba(52, 211, 153, 0.14);
	border: 1px solid rgba(52, 211, 153, 0.35);
	color: var(--otis-brand-900);
}

.otis-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 15px;
	margin-bottom: 20px;
	background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(52, 211, 153, 0.18));
	color: var(--otis-brand-700);
	font-size: 22px;
}

.otis-prog h3 {
	font-size: 1.1rem;
	margin: 0 0 8px;
	padding-inline-end: 90px;
}

.otis-prog p {
	font-size: 0.93rem;
	color: var(--otis-muted);
	margin-bottom: 20px;
}

.otis-prog__meta {
	margin: auto 0 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding-top: 18px;
	border-top: 1px dashed var(--otis-line-strong);
}

.otis-prog__meta dt {
	font-size: 0.74rem;
	color: var(--otis-muted);
	margin: 0 0 2px;
}

.otis-prog__meta dd {
	margin: 0;
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--otis-brand-800);
}

/* --------------------------------------------------- 4. Kıyaslama sütunları */
.otis-compare__col {
	border-radius: var(--otis-radius-lg);
	padding: 32px 28px;
	border: 1px solid var(--otis-line);
	background: #fff;
	box-shadow: var(--otis-shadow-sm);
	height: 100%;
}

.otis-compare__col--old {
	background: #fdfdfe;
	border-color: rgba(148, 163, 184, 0.28);
}

.otis-compare__col--new {
	background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(52, 211, 153, 0.07));
	border-color: rgba(52, 211, 153, 0.3);
}

.otis-compare__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--otis-ink);
	margin: 0 0 22px;
}

.otis-compare__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.otis-compare__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}

.otis-compare__mark {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	flex: none;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1;
}

.otis-compare__col--old .otis-compare__mark {
	background: #fee2e2;
	color: #dc2626;
}

.otis-compare__col--new .otis-compare__mark {
	background: #dcfce7;
	color: #16a34a;
}

/* ------------------------------------------------------- 5. Süreç adımları */
.otis-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--otis-line);
	border-radius: var(--otis-radius-lg);
	padding: 32px 24px 26px;
	box-shadow: var(--otis-shadow-sm);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.otis-step:hover {
	transform: translateY(-4px);
	box-shadow: var(--otis-shadow-md);
}

.otis-step__num {
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
	background: var(--otis-title-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.35;
	margin-bottom: 12px;
}

.otis-step h3 {
	font-size: 1.05rem;
	margin: 0 0 8px;
}

.otis-step p {
	font-size: 0.92rem;
	color: var(--otis-muted);
	margin: 0;
}

/* ---------------------------------------------------------- 6. Sayı bandı */
.otis-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 40px 24px;
	border-radius: var(--otis-radius-lg);
	background: linear-gradient(135deg, var(--otis-brand-900), var(--otis-brand-700) 60%, var(--otis-brand-600));
	color: #fff;
	text-align: center;
	box-shadow: var(--otis-shadow-md);
}

.otis-stats b {
	display: block;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.otis-stats span {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
}

/* ------------------------------------------------------- 7. Kayan şerit */
.otis-strip {
	border-top: 1px solid var(--otis-line);
	border-bottom: 1px solid var(--otis-line);
	background: #fff;
	padding: 26px 0;
	overflow: hidden;
}

.otis-strip__label {
	text-align: center;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--otis-muted);
	margin-bottom: 16px;
}

.otis-strip__track {
	display: flex;
	gap: 44px;
	width: max-content;
	animation: otis-marquee 34s linear infinite;
}

.otis-strip:hover .otis-strip__track {
	animation-play-state: paused;
}

.otis-strip__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: #94a3b8;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.otis-strip__item:hover {
	color: var(--otis-brand-700);
}

/* --------------------------------------------------- 8. İletişim kartları */
.otis-contact__card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--otis-line);
	border-radius: var(--otis-radius);
	padding: 20px;
	box-shadow: var(--otis-shadow-sm);
	margin-bottom: 16px;
}

.otis-contact__card .otis-icon {
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 13px;
	flex: none;
	font-size: 19px;
}

.otis-contact__card dt {
	font-size: 0.78rem;
	color: var(--otis-muted);
	margin: 0 0 3px;
}

.otis-contact__card dd {
	margin: 0;
	font-weight: 600;
	color: var(--otis-ink);
	font-size: 0.98rem;
	line-height: 1.5;
}

/* -------------------------------------- 9. Avada bileşenlerine ince rötuş */
/* SSS akordiyonu (Avada Toggles elemanı) */
.otis-faq .fusion-panel {
	border-radius: var(--otis-radius) !important;
	border: 1px solid var(--otis-line) !important;
	box-shadow: var(--otis-shadow-sm);
	margin-bottom: 14px !important;
	overflow: hidden;
}

.otis-faq .fusion-panel .panel-title a {
	font-weight: 600 !important;
	color: var(--otis-ink) !important;
}

/* Referans kartları (Avada Testimonials yerine kendi kartımızı kullanırsanız) */
.otis-tst {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--otis-line);
	border-radius: var(--otis-radius-lg);
	padding: 30px 26px;
	box-shadow: var(--otis-shadow-sm);
	height: 100%;
}

.otis-tst__stars {
	color: #f59e0b;
	margin-bottom: 14px;
	letter-spacing: 2px;
}

.otis-tst__text {
	font-size: 0.97rem;
	color: #475569;
	margin-bottom: 24px;
}

.otis-tst__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--otis-line);
}

.otis-tst__avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	flex: none;
	background: linear-gradient(135deg, var(--otis-brand-700), var(--otis-accent));
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
}

.otis-tst__name {
	display: block;
	font-weight: 700;
	color: var(--otis-ink);
	line-height: 1.3;
}

.otis-tst__role {
	display: block;
	font-size: 0.84rem;
	color: var(--otis-muted);
}

/* ------------------------------------------------------- 10. Animasyonlar */
@keyframes otis-ring-fill {
	from {
		stroke-dashoffset: 326.7;
	}
	to {
		stroke-dashoffset: 98;
	}
}

@keyframes otis-pulse-ring {
	0%,
	100% {
		box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.08);
	}
}

@keyframes otis-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

@keyframes otis-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.otis-float,
	.otis-strip__track,
	.otis-ring__fg,
	.otis-track .is-active .otis-track__pip {
		animation: none !important;
	}
}

/* --------------------------------------------------------- 11. Responsive */
@media (max-width: 1024px) {
	.otis-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.otis-summary {
		margin-inline: auto;
	}
}

@media (max-width: 680px) {
	.otis-summary__calc {
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
	}

	.otis-ring {
		margin-inline: auto;
	}

	.otis-summary__card {
		padding: 20px;
	}

	.otis-float {
		display: none;
	}

	.otis-stats {
		grid-template-columns: minmax(0, 1fr);
	}

	.otis-prog h3 {
		padding-inline-end: 0;
	}

	.otis-prog__badge {
		position: static;
		display: inline-block;
		margin-bottom: 10px;
	}
}


/* Otis · metin ve bağlantı renkleri */
body,
.fusion-body {
	color: #475569;
}

.fusion-body h1,
.fusion-body h2,
.fusion-body h3,
.fusion-body h4,
.fusion-body h5,
.fusion-body h6 {
	color: #0f172a;
	letter-spacing: -0.02em;
}

.fusion-body a {
	color: #0d9488;
}

.fusion-body a:hover {
	color: #085c54;
}

