/* ==========================================================================
   Clinic37 — main stylesheet (RTL-first, logical properties)
   ========================================================================== */

:root {
	--teal: #08a59f;
	--teal-600: #068c87;
	--teal-100: #cdeeec;
	--teal-50: #e8f7f6;
	--navy: #0a2c4f;
	--navy-700: #123b66;
	--navy-900: #071f38;
	--coral: #fb7766;
	--coral-50: #fff0ed;
	--ink: #0a2c4f;
	--muted: #5c7185;
	--line: #e1eaec;
	--soft: #f4fafa;
	--bg: #fff;
	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(10, 44, 79, .06), 0 4px 14px rgba(10, 44, 79, .05);
	--shadow: 0 10px 30px rgba(10, 44, 79, .10);
	--shadow-lg: 0 24px 60px rgba(10, 44, 79, .16);
	--font-head: var(--font);
	--font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.8;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4, .btn, .plan__price .amount, .facts strong, .step__n, .kicker { font-family: var(--font-head); }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 800; line-height: 1.35; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-100); color: var(--navy); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-block-start: -60px; inset-inline-start: 12px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { inset-block-start: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 820px; }
.tc { text-align: center; }
.ico { flex: none; vertical-align: middle; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .72em 1.4em; border-radius: 14px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; line-height: 1.4; cursor: pointer; text-decoration: none;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(-3px); }
.btn:hover .ico.flip { transform: scaleX(-1) translateX(-3px); }
.btn--lg { padding: .9em 1.7em; font-size: 1.08rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(8, 165, 159, .32); }
.btn--primary:hover { background: var(--teal-600); color: #fff; box-shadow: 0 12px 26px rgba(8, 165, 159, .4); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-600); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--light:hover { color: var(--teal-600); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebd5a; color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; inset-block-start: 0; z-index: 100;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-block-end: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgba(10, 44, 79, .06); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand, .custom-logo-link { display: inline-flex; align-items: center; }
.brand img, .custom-logo { display: block; height: auto; max-height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav .menu { display: flex; align-items: center; gap: 4px; }
.nav .menu a { display: block; padding: .5em .95em; border-radius: 12px; font-weight: 600; color: var(--navy); font-size: .98rem; transition: background .2s, color .2s; }
.nav .menu a:hover, .nav .menu .current-menu-item > a, .nav .menu .current_page_item > a { background: var(--teal-50); color: var(--teal-600); }
.nav .menu li { position: relative; }
.nav .menu .sub-menu { position: absolute; inset-inline-start: 0; inset-block-start: 100%; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.nav .menu li:hover > .sub-menu, .nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__cta { padding: .6em 1.3em; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 14px; color: var(--navy); align-items: center; justify-content: center; }
.burger__close { display: none; }
.is-open .burger__open { display: none; }
.is-open .burger__close { display: block; }

@media (max-width: 960px) {
	.burger { display: inline-flex; }
	.nav {
		position: absolute; inset-inline: 0; inset-block-start: 100%;
		flex-direction: column; align-items: stretch; gap: 14px;
		background: #fff; border-block-end: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 14px 20px 22px; display: none;
	}
	.is-open .nav { display: flex; animation: drop .25s var(--ease); }
	.nav .menu { flex-direction: column; align-items: stretch; }
	.nav .menu a { padding: .8em 1em; font-size: 1.05rem; }
	.nav .menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 14px 0 0; }
	.nav__cta { width: 100%; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Common blocks ---------- */
.section { padding: 92px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; overflow: hidden; }
.section--navy::before, .section--navy::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.section--navy::before { width: 520px; height: 520px; inset-block-start: -220px; inset-inline-start: -160px; background: radial-gradient(closest-side, rgba(8, 165, 159, .38), transparent); }
.section--navy::after { width: 420px; height: 420px; inset-block-end: -180px; inset-inline-end: -120px; background: radial-gradient(closest-side, rgba(251, 119, 102, .22), transparent); }
.section--navy .wrap { position: relative; z-index: 1; }

.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-block-end: .4em; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.sec-head--light h2 { color: #fff; }
.sec-head--light p { color: rgba(255, 255, 255, .78); }
.kicker { display: inline-block; font-weight: 700; font-size: .92rem; color: var(--teal-600); background: var(--teal-50); padding: .2em 1em; border-radius: 999px; margin-block-end: 14px; }
.section--navy .kicker { background: rgba(255, 255, 255, .1); color: #7fe3dd; }

h1 em, h2 em, h3 em { font-style: normal; color: var(--teal); background: linear-gradient(transparent 66%, rgba(251, 119, 102, .26) 66%, rgba(251, 119, 102, .26) 90%, transparent 90%); padding-inline: .08em; border-radius: 4px; }
.section--navy h2 em, .cta-band em { color: #7fe3dd; background: linear-gradient(transparent 66%, rgba(251, 119, 102, .35) 66%, rgba(251, 119, 102, .35) 90%, transparent 90%); }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card h3 { font-size: 1.2rem; margin-block-end: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.feat:hover, .problem:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-100); }

.ico-badge { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--teal-50); color: var(--teal-600); margin-block-end: 16px; flex: none; }
.ico-badge--coral { background: var(--coral-50); color: var(--coral); }

.chip { display: inline-block; font-weight: 600; font-size: .86rem; padding: .15em .85em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.chip--teal { background: var(--teal-50); border-color: transparent; color: var(--teal-600); }
.more { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-block-start: 38px; color: var(--muted); font-weight: 600; }

.ticks li { display: flex; gap: 10px; align-items: flex-start; padding-block: 5px; font-weight: 500; }
.ticks .ico { margin-block-start: 6px; color: var(--teal); background: var(--teal-50); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.ticks--lg li { font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; background: linear-gradient(180deg, #f2fbfa 0%, #fff 78%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(6px); }
.blob--1 { width: 560px; height: 560px; inset-block-start: -240px; inset-inline-start: -180px; background: radial-gradient(closest-side, rgba(8, 165, 159, .22), transparent); }
.blob--2 { width: 440px; height: 440px; inset-block-end: -60px; inset-inline-end: -120px; background: radial-gradient(closest-side, rgba(251, 119, 102, .18), transparent); }
.dots { position: absolute; inset-block-start: 90px; inset-inline-end: 4%; width: 190px; height: 190px; background-image: radial-gradient(var(--teal-100) 2px, transparent 2.5px); background-size: 20px 20px; opacity: .9; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; min-height: 560px; }

.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--teal-100); color: var(--teal-600); font-weight: 700; font-size: .92rem; padding: .3em 1em; border-radius: 999px; box-shadow: var(--shadow-sm); margin-block-end: 20px; }
.badge .ico { color: var(--coral); fill: var(--coral); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 900; line-height: 1.2; margin-block-end: .4em; }
.hero h1 em { display: inline-block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 26px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--navy); font-weight: 600; font-size: .96rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.hero__points .ico { color: var(--teal); }

.hero__visual { position: relative; height: 500px; width: 580px; max-width: 100%; margin-inline: auto; }

.mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .86rem; line-height: 1.5; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-block-end: 1px solid var(--line); background: #fbfdfd; font-weight: 700; color: var(--navy); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e6eef0; }
.mock__bar i:nth-child(1) { background: #ff9d91; } .mock__bar i:nth-child(2) { background: #ffd180; } .mock__bar i:nth-child(3) { background: #8fe0cf; }
.mock__bar span { margin-inline-start: 10px; }
.mock__bar .chip { margin-inline-start: auto; }

.hero__visual .mock--dash { position: absolute; inset-block-start: 40px; left: 0; width: 372px; }
.appt li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px; border-block-end: 1px solid #eef4f5; }
.appt strong { display: block; color: var(--navy); font-size: .92rem; }
.appt small, .spark small { color: var(--muted); font-size: .78rem; }
.time { font-weight: 700; color: var(--navy); font-size: .88rem; }
.av { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800; color: #fff; flex: none; }
.av--teal { background: var(--teal); } .av--coral { background: var(--coral); } .av--navy { background: var(--navy); }
.pill { font-size: .74rem; font-weight: 700; padding: .2em .8em; border-radius: 999px; background: #eef3f5; color: var(--muted); white-space: nowrap; }
.pill--live { background: var(--teal-50); color: var(--teal-600); }
.pill--live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-inline-end: 6px; animation: pulse 1.6s infinite; }
.pill--wait { background: var(--coral-50); color: #e0523f; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(8, 165, 159, .5); } 100% { box-shadow: 0 0 0 8px rgba(8, 165, 159, 0); } }
.spark { padding: 14px 16px 16px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; margin-block-start: 8px; }
.bars i { flex: 1; height: var(--h); background: var(--teal-100); border-radius: 6px 6px 3px 3px; }
.bars i.on { background: var(--teal); }

.phone { position: absolute; right: 0; inset-block-end: 6px; width: 212px; background: #fff; border: 7px solid var(--navy); border-radius: 34px; box-shadow: var(--shadow-lg); padding: 22px 12px 14px; font-size: .8rem; line-height: 1.45; z-index: 2; }
.phone__notch { position: absolute; inset-block-start: 6px; inset-inline: 0; margin-inline: auto; width: 56px; height: 6px; border-radius: 6px; background: var(--navy); }
.phone__top { display: flex; align-items: center; gap: 10px; margin-block: 6px 12px; }
.phone__top strong { display: block; color: var(--navy); }
.phone__top small, .phone__card small, .phone__hello small { color: var(--muted); font-size: .72rem; display: block; }
.phone__card { display: flex; gap: 10px; align-items: center; background: #f6fafb; border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-block-end: 10px; }
.phone__card:not(.phone__card--vax) { display: block; }
.phone__card strong { display: block; color: var(--navy); font-size: .86rem; }
.phone__card em { font-style: normal; font-size: .72rem; color: var(--coral); font-weight: 700; }
.phone__card .ico-badge { width: 36px; height: 36px; border-radius: 11px; margin: 0; }
.phone__btn { background: var(--teal); color: #fff; text-align: center; font-weight: 700; padding: .6em; border-radius: 12px; font-size: .85rem; }
.growth { width: 100%; height: 56px; margin-block-start: 4px; overflow: visible; }
.growth path { fill: none; stroke-width: 1.8; stroke-linecap: round; }
.g-top, .g-low { stroke: var(--line); stroke-dasharray: 3 3; } .g-mid { stroke: #c4d4d8; }
.g-kid { stroke: var(--teal); stroke-width: 2.6; } .g-dot { fill: var(--coral); stroke: #fff; stroke-width: 2; }

.float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .5em .9em; font-weight: 700; font-size: .8rem; color: var(--navy); box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.float .ico { color: var(--teal); }
.float--a { left: 14px; inset-block-end: 52px; }
.float--b { right: 0; inset-block-start: 6px; animation-delay: -2.4s; }
.float--b .ico { color: var(--coral); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-block: 28px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); position: relative; }
.facts li { padding: 20px 22px; border-inline-end: 1px solid var(--line); }
.facts li:last-child { border: 0; }
.facts strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--teal); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .9rem; font-weight: 600; line-height: 1.5; display: block; }
.hero { padding-block-end: 56px; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; min-height: 0; }
	.hero__copy { text-align: center; }
	.lead { margin-inline: auto; }
	.hero__cta, .hero__points { justify-content: center; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts li:nth-child(2) { border-inline-end: 0; }
	.facts li:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
}
@media (max-width: 640px) { .hero__visual { width: 580px; max-width: none; zoom: .84; } }
@media (max-width: 560px) {
	.hero__visual { zoom: .68; }
	.facts li { padding: 14px; } .facts strong { font-size: 1.35rem; }
}
@media (max-width: 430px) { .hero__visual { zoom: .56; } }
@media (max-width: 360px) { .hero__visual { zoom: .5; } }

/* ---------- Problems ---------- */
.solve { display: flex; align-items: center; gap: 14px; justify-content: center; margin-block-start: 34px; background: var(--navy); color: #fff; border-radius: var(--r); padding: 20px 26px; }
.solve p { margin: 0; font-size: 1.06rem; }
.solve strong { color: #7fe3dd; }
.solve__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- Apps tabs ---------- */
.tabs__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; width: fit-content; max-width: 100%; margin: 0 auto 36px; padding: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; }
.tabs__list button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: rgba(255, 255, 255, .8); font-weight: 700; padding: .7em 1.2em; border-radius: 13px; transition: background .2s, color .2s; }
.tabs__list button:hover { color: #fff; }
.tabs__list button[aria-selected="true"] { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(8, 165, 159, .4); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__copy h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.panel__copy p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; }
.panel__copy .ticks li { color: #fff; }
.panel__copy .ticks .ico { background: rgba(8, 165, 159, .3); color: #7fe3dd; }
.panel__visual { display: grid; place-items: center; min-height: 380px; padding: 24px; border-radius: var(--r-lg); background: radial-gradient(closest-side at 50% 50%, rgba(8, 165, 159, .28), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .08); }
.phone--static { position: relative; right: auto; inset-block-end: auto; width: 250px; }
.phone__hello { margin-block: 6px 12px; } .phone__hello strong { color: var(--navy); font-size: 1rem; }
.phone__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block-end: 12px; }
.phone__tiles span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--teal-50); color: var(--teal-600); font-weight: 700; font-size: .72rem; }
.mock--visit, .mock--admin { width: min(400px, 100%); }
.tabs-mini { display: flex; gap: 6px; padding: 12px 14px 4px; overflow: hidden; }
.tabs-mini b { font-size: .74rem; padding: .25em .8em; border-radius: 999px; background: #f0f5f6; color: var(--muted); white-space: nowrap; }
.tabs-mini b.on { background: var(--teal); color: #fff; }
.exam { padding: 8px 16px; }
.exam li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-block-end: 1px dashed var(--line); font-weight: 600; color: var(--navy); }
.exam em { font-style: normal; font-size: .76rem; padding: .1em .75em; border-radius: 999px; font-weight: 700; }
.exam .ok { background: var(--teal-50); color: var(--teal-600); } .exam .warn { background: var(--coral-50); color: #e0523f; }
.alert-line { display: flex; gap: 8px; align-items: center; margin: 8px 16px 12px; background: var(--coral-50); color: #c9432f; padding: .55em .8em; border-radius: 12px; font-weight: 700; font-size: .78rem; }
.mock--visit .phone__btn { margin: 0 16px 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 6px; }
.kpis div { background: #f6fafb; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.kpis small { color: var(--muted); font-size: .72rem; display: block; } .kpis strong { font-size: 1.5rem; font-weight: 900; color: var(--navy); line-height: 1.3; }
.chart { padding: 8px 16px 0; } .chart small { color: var(--muted); font-size: .74rem; }
.chart svg { width: 100%; height: 90px; display: block; margin-block-start: 6px; }
.chart .area { fill: rgba(8, 165, 159, .16); } .chart .line { fill: none; stroke: var(--teal); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.log { padding: 6px 16px 16px; } .log li { display: flex; gap: 8px; align-items: center; padding: 5px 0; color: var(--muted); font-size: .8rem; font-weight: 600; }
.log b { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; } .log li:nth-child(2) b { background: var(--coral); } .log li:nth-child(3) b { background: var(--navy); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; gap: 28px; } .tabs__list { width: 100%; } .tabs__list button { flex: 1 1 auto; justify-content: center; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline: 12%; inset-block-start: 31px; border-block-start: 2px dashed var(--teal-100); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding-inline: 8px; }
.step__n { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--teal); border: 2px solid var(--teal); font-size: 1.5rem; font-weight: 900; margin-block-end: 16px; box-shadow: 0 0 0 8px #fff; }
.step:nth-child(2) .step__n { border-color: var(--coral); color: var(--coral); }
.step:nth-child(3) .step__n { border-color: var(--navy); color: var(--navy); }
.step h3 { font-size: 1.15rem; } .step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.billing { display: flex; width: fit-content; margin: -22px auto 38px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.billing button { border: 0; background: transparent; padding: .5em 1.3em; border-radius: 12px; font-weight: 700; color: var(--muted); }
.billing button.is-on { background: var(--navy); color: #fff; }
.billing small { color: var(--coral); font-weight: 700; margin-inline-start: 4px; } .billing .is-on small { color: #ffb4a9; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.35rem; margin-block-end: .15em; }
.plan__desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-block: 6px 20px; min-height: 64px; }
.plan__price .amount { font-size: 3rem; font-weight: 900; color: var(--navy); line-height: 1; }
.plan__price .amount--text { font-size: 1.7rem; }
.plan__price span { color: var(--muted); font-weight: 700; } .plan__price small { font-weight: 600; font-size: .85rem; }
.plan .ticks { flex: 1; margin-block-end: 26px; }
.plan--featured { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .amount { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price span { color: rgba(255, 255, 255, .75); }
.plan--featured .ticks .ico { background: rgba(8, 165, 159, .35); color: #7fe3dd; }
.plan__flag { position: absolute; inset-block-start: -14px; inset-inline-start: 50%; transform: translateX(50%); background: var(--coral); color: #fff; font-weight: 800; font-size: .82rem; padding: .25em 1.1em; border-radius: 999px; box-shadow: 0 6px 14px rgba(251, 119, 102, .4); white-space: nowrap; }
[dir="ltr"] .plan__flag { transform: translateX(-50%); }
.plans__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.plans__note .ico { color: var(--teal); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .plan--featured { transform: none; order: -1; } }

/* ---------- Testimonials ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 12px 0 18px; font-size: 1.02rem; color: var(--navy); font-weight: 500; }
.quote__star { color: var(--coral); fill: var(--coral); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption strong { display: block; } .quote figcaption small { color: var(--muted); }
.quote__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--teal); transition: transform .25s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 20px 0 88px; }
.cta-band__in { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 44px 48px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(120deg, var(--navy) 0%, #0d4466 55%, var(--teal-600) 120%); box-shadow: var(--shadow-lg); }
.cta-band__in::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; inset-block-start: -140px; inset-inline-end: -80px; background: radial-gradient(closest-side, rgba(251, 119, 102, .35), transparent); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-block-end: .2em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.cta-band__mark { background: rgba(255, 255, 255, .95); border-radius: 26px; padding: 16px 20px; display: grid; place-items: center; }
.cta-band__mark img { width: 62px; height: auto; display: block; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band__in { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; justify-items: center; } }

/* ---------- Demo form ---------- */
.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.demo__copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.demo__copy > p { color: var(--muted); font-size: 1.08rem; }
.demo__direct { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 22px; }
.form { padding: 32px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-block-end: 16px; }
.field > span { display: block; font-weight: 700; font-size: .92rem; margin-block-end: 6px; color: var(--navy); }
.field i { color: var(--coral); font-style: normal; }
input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="url"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: #fbfdfd; border: 1.5px solid var(--line); border-radius: 13px; padding: .75em 1em; transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(8, 165, 159, .16); }
input::placeholder, textarea::placeholder { color: #9fb0bb; }
.form__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.notice { padding: .8em 1em; border-radius: 13px; font-weight: 700; margin-block-end: 18px; }
.notice--ok { background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100); }
.notice--err { background: var(--coral-50); color: #c9432f; border: 1px solid #ffd2ca; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; gap: 0; } .form { padding: 22px; } }

/* ---------- Inner pages ---------- */
.page-hero { text-align: center; padding: 70px 0 56px; background: linear-gradient(180deg, #eaf8f7, #fff); border-block-end: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; inset-block-start: -180px; inset-inline-start: -90px; background: radial-gradient(closest-side, rgba(8, 165, 159, .2), transparent); }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; inset-block-end: -170px; inset-inline-end: -60px; background: radial-gradient(closest-side, rgba(251, 119, 102, .16), transparent); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-block-end: .25em; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin-inline: auto; }
.page-hero--post h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.about__copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.about__copy p { color: var(--muted); font-size: 1.07rem; }
.about__logo { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: grid; place-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__logo { max-width: 360px; margin-inline: auto; } }

/* prose (محتوى المقالات والصفحات) */
.prose { font-size: 1.08rem; line-height: 1.95; }
.prose > * + * { margin-block-start: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-block: 1.6em .5em; } .prose h3 { font-size: 1.3rem; margin-block: 1.4em .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 16px; height: auto; }
.prose ul { list-style: disc; padding-inline-start: 1.4em; } .prose ol { list-style: decimal; padding-inline-start: 1.4em; }
.prose blockquote { margin-inline: 0; padding: 14px 22px; border-inline-start: 4px solid var(--teal); background: var(--teal-50); border-radius: 0 14px 14px 0; font-weight: 600; }
[dir="rtl"] .prose blockquote { border-radius: 14px 0 0 14px; }
.prose table { width: 100%; border-collapse: collapse; } .prose th, .prose td { border: 1px solid var(--line); padding: .6em .9em; text-align: start; } .prose th { background: var(--soft); }
.post__hero { margin: 0 0 32px; } .post__hero img { width: 100%; border-radius: var(--r); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-block: 44px; padding-block-start: 24px; border-block-start: 1px solid var(--line); font-weight: 700; }

/* blog */
.blog { display: grid; grid-template-columns: 1fr; gap: 40px; }
.blog:has(.blog__side) { grid-template-columns: minmax(0, 1fr) 300px; }
.post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__thumb { display: block; aspect-ratio: 16 / 10; background: var(--teal-50); overflow: hidden; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__thumb img { transform: scale(1.05); }
.post__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal-50), #fff); }
.post__ph img { width: 64px; height: auto; opacity: .85; object-fit: contain; }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.post__meta { color: var(--muted); font-size: .85rem; font-weight: 600; }
.post h2 { font-size: 1.2rem; margin: 0 0 .2em; } .post h2 a { color: var(--navy); } .post h2 a:hover { color: var(--teal-600); }
.post p { color: var(--muted); font-size: .96rem; margin: 0 0 .6em; }
.more-link { margin-block-start: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.blog__side .widget { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-block-end: 20px; }
.widget__title { font-size: 1.05rem; } .widget ul { display: grid; gap: 8px; }
.empty { text-align: center; padding: 48px 28px; }
.navigation.pagination { margin-block-start: 40px; } .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--navy); background: #fff; }
.page-numbers.current, .page-numbers:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.searchform { display: flex; gap: 8px; max-width: 420px; margin: 18px auto 0; }
@media (max-width: 960px) { .blog:has(.blog__side) { grid-template-columns: 1fr; } }

/* comments */
.comments { margin-block-start: 54px; } .comments__title { font-size: 1.4rem; }
.comments__list { display: grid; gap: 16px; margin-block-end: 36px; } .comments__list .children { margin-inline-start: 28px; margin-block-start: 14px; display: grid; gap: 14px; }
.comment-body { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.comment-author .avatar { border-radius: 50%; margin-inline-end: 10px; vertical-align: middle; }
.comment-metadata, .comment-metadata a { color: var(--muted); font-size: .85rem; }
.comment-form p { margin-block-end: 14px; } .comment-form label { display: block; font-weight: 700; margin-block-end: 5px; }

.notfound h1 { font-size: clamp(4rem, 12vw, 7rem); color: var(--teal); margin: 12px 0 0; line-height: 1.1; }
.notfound img { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding: 70px 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { background: #fff; border-radius: 20px; padding: 12px 18px; width: 170px; height: auto; margin-block-end: 16px; }
.footer-brand p { max-width: 360px; font-size: .95rem; }
.footer-h { color: #fff; font-size: 1.05rem; margin-block-end: 14px; }
.footer-menu li, .footer-contact li { padding-block: 5px; }
.site-footer a { color: rgba(255, 255, 255, .78); } .site-footer a:hover { color: #7fe3dd; }
.footer-contact li { display: flex; align-items: center; gap: 10px; } .footer-contact .ico { color: #7fe3dd; }
.social { display: flex; gap: 10px; margin-block-start: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.social a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-block-start: 52px; padding-block: 22px; border-block-start: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer-made { display: inline-flex; align-items: center; gap: 6px; } .footer-made .ico { color: var(--coral); fill: var(--coral); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* WP core alignments */
.alignleft { float: left; margin-inline-end: 1.4em; } .alignright { float: right; margin-inline-start: 1.4em; } .aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
@media print {
	.site-header, .wa-float, .cta-band, .site-footer { display: none; }
}
