/*
Theme Name: Karasta Landing
Description: صفحة تعريفية لتطبيق كرستا: المميزات، طريقة الطلب، من نحن، الأسئلة الشائعة، التواصل وروابط التحميل. لا يحتوي على أي قوالب للمتجر — المتجر داخل التطبيق فقط.
Author: Karasta
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: karasta-landing
*/

/* Self-hosted: Google Fonts is often blocked or slow for visitors in Syria. */
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/tajawal-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/tajawal-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/tajawal-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/tajawal-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/tajawal-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/tajawal-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/tajawal-arabic-800.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/tajawal-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--kl-brand: #f3892a;
	--kl-brand-dark: #d96f12;
	--kl-brand-soft: #fff3e8;
	--kl-ink: #2f3033;
	--kl-ink-2: #55575c;
	--kl-muted: #7c7f86;
	--kl-line: #ececef;
	--kl-bg: #ffffff;
	--kl-bg-2: #f7f7f9;
	--kl-dark: #232427;
	--kl-radius: 18px;
	--kl-shadow: 0 10px 30px rgba(35, 36, 39, .08);
	--kl-shadow-lg: 0 24px 60px rgba(35, 36, 39, .14);
	--kl-max: 1160px;
	--kl-font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
	margin: 0;
	overflow-x: clip;
	background: var(--kl-bg);
	color: var(--kl-ink);
	font-family: var(--kl-font);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--kl-brand-dark); text-decoration: none; }
a:hover { color: var(--kl-brand); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; color: var(--kl-ink); font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--kl-brand); outline-offset: 3px; border-radius: 6px; }

.kl-container { width: 100%; max-width: var(--kl-max); margin-inline: auto; padding-inline: 20px; }

.screen-reader-text, .kl-skip:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.kl-skip:focus { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--kl-shadow); }

/* ── Buttons ─────────────────────────────── */
.kl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border-radius: 14px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
	cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.kl-btn:hover { transform: translateY(-2px); }
.kl-btn svg { width: 22px; height: 22px; flex: none; }
.kl-btn--primary { background: var(--kl-brand); color: #fff; box-shadow: 0 10px 24px rgba(243, 137, 42, .35); }
.kl-btn--primary:hover { background: var(--kl-brand-dark); color: #fff; }
.kl-btn--dark { background: var(--kl-dark); color: #fff; }
.kl-btn--dark:hover { background: #000; color: #fff; }
.kl-btn--ghost { background: transparent; color: var(--kl-ink); border-color: var(--kl-line); }
.kl-btn--ghost:hover { border-color: var(--kl-brand); color: var(--kl-brand-dark); }

.kl-store-btn { padding: 10px 18px; text-align: start; }
.kl-store-btn small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.kl-store-btn strong { display: block; font-size: 17px; }
.kl-store-btn svg { width: 28px; height: 28px; }

/* ── Header ──────────────────────────────── */
.kl-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.kl-header.is-scrolled { border-bottom-color: var(--kl-line); box-shadow: 0 6px 20px rgba(0, 0, 0, .04); }
.kl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.kl-logo img, .kl-logo .custom-logo { height: 52px; width: auto; }
.kl-logo__text { font-weight: 800; font-size: 24px; color: var(--kl-ink); }

.kl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.kl-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--kl-ink-2); font-weight: 600; }
.kl-nav a:hover { color: var(--kl-brand-dark); background: var(--kl-brand-soft); }
.kl-header__cta { display: flex; align-items: center; gap: 10px; }
.kl-header__cta .kl-btn { padding: 10px 18px; font-size: 15px; }

.kl-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--kl-line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.kl-burger span, .kl-burger span::before, .kl-burger span::after { display: block; width: 20px; height: 2px; background: var(--kl-ink); border-radius: 2px; position: relative; transition: .2s; }
.kl-burger span::before, .kl-burger span::after { content: ""; position: absolute; inset-inline-start: 0; }
.kl-burger span::before { top: -6px; }
.kl-burger span::after { top: 6px; }
.kl-nav-open .kl-burger span { background: transparent; }
.kl-nav-open .kl-burger span::before { top: 0; transform: rotate(45deg); }
.kl-nav-open .kl-burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.kl-burger { display: inline-flex; }
	.kl-header__cta .kl-btn { display: none; }
	.kl-nav {
		position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--kl-line);
		box-shadow: var(--kl-shadow); padding: 12px 20px 20px; display: none;
	}
	.kl-nav-open .kl-nav { display: block; }
	.kl-nav ul { flex-direction: column; gap: 2px; }
	.kl-nav a { padding: 12px 10px; font-size: 18px; }
	.kl-nav .kl-nav__cta { display: block; margin-top: 10px; }
}
@media (min-width: 961px) { .kl-nav .kl-nav__cta { display: none; } }

/* ── Sections ────────────────────────────── */
.kl-section { padding: 96px 0; }
.kl-section--alt { background: var(--kl-bg-2); }
.kl-section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kl-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
	padding: 6px 14px; border-radius: 999px; background: var(--kl-brand-soft); color: var(--kl-brand-dark);
	font-weight: 700; font-size: 14px;
}
.kl-eyebrow svg { width: 16px; height: 16px; flex: none; }
.kl-section__head h2 { font-size: clamp(28px, 4vw, 40px); }
.kl-section__head p { color: var(--kl-muted); font-size: 18px; margin: 0; }

/* ── Hero ────────────────────────────────── */
.kl-hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.kl-hero::before {
	content: ""; position: absolute; inset: -30% -20% auto auto; width: 720px; height: 720px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(243, 137, 42, .18), rgba(243, 137, 42, 0)); pointer-events: none;
}
.kl-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.kl-hero h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -.5px; }
.kl-hero h1 em { font-style: normal; color: var(--kl-brand); }
.kl-hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--kl-ink-2); max-width: 580px; }
.kl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.kl-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.kl-stats li { background: #fff; border: 1px solid var(--kl-line); border-radius: 16px; padding: 12px 18px; min-width: 120px; box-shadow: 0 4px 14px rgba(0, 0, 0, .03); }
.kl-stats strong { display: block; font-size: 26px; color: var(--kl-ink); line-height: 1.2; }
.kl-stats span { color: var(--kl-muted); font-size: 14px; }

/* Phone mockup */
.kl-phone-wrap { position: relative; display: flex; justify-content: center; }
.kl-phone {
	position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
	background: #1d1e21; box-shadow: var(--kl-shadow-lg), inset 0 0 0 2px #3a3b40; transform: rotate(-3deg);
}
.kl-phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: #1d1e21; border-radius: 20px; z-index: 2; }
.kl-phone__screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fafafa; position: relative; }
.kl-phone__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kl-float {
	position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--kl-shadow-lg); padding: 10px 14px;
	display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; z-index: 3; white-space: nowrap; line-height: 1.4;
}
.kl-float i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--kl-brand-soft); color: var(--kl-brand-dark); font-style: normal; }
.kl-float i svg { width: 18px; height: 18px; }
.kl-float small { display: block; color: var(--kl-muted); font-weight: 500; font-size: 12px; }
.kl-float--a { top: 16%; inset-inline-end: calc(50% + 110px); }
.kl-float--b { bottom: 14%; inset-inline-start: calc(50% + 100px); }

/* Mini app UI shown when no screenshot is set */
.kl-ui { padding: 46px 14px 14px; height: 100%; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.kl-ui__top { display: flex; align-items: center; justify-content: space-between; }
.kl-ui__top img { width: 34px; height: 34px; border-radius: 10px; }
.kl-ui__top b { font-size: 15px; }
.kl-ui__search { background: #fff; border: 1px solid var(--kl-line); border-radius: 12px; padding: 8px 12px; color: var(--kl-muted); display: flex; gap: 8px; align-items: center; }
.kl-ui__search svg { width: 14px; height: 14px; }
.kl-ui__banner { border-radius: 14px; padding: 14px; color: #fff; background: linear-gradient(135deg, var(--kl-brand), #ffb15e); }
.kl-ui__banner b { display: block; font-size: 15px; }
.kl-ui__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kl-ui__chips span { background: #fff; border: 1px solid var(--kl-line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.kl-ui__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kl-ui__card { background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--kl-line); }
.kl-ui__card div { height: 58px; border-radius: 8px; background: var(--kl-bg-2); margin-bottom: 6px; display: grid; place-items: center; color: #c9cbd1; }
.kl-ui__card div svg { width: 26px; height: 26px; }
.kl-ui__card p { margin: 0; height: 6px; border-radius: 4px; background: var(--kl-line); }
.kl-ui__card p + p { width: 50%; margin-top: 6px; background: var(--kl-brand); opacity: .7; }

@media (max-width: 960px) {
	.kl-hero { padding-top: 36px; }
	.kl-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.kl-hero__lead { margin-inline: auto; }
	.kl-hero__actions, .kl-stats { justify-content: center; }
	.kl-phone { width: 260px; }
	.kl-float--a { inset-inline-end: auto; inset-inline-start: 0; top: 10%; }
	.kl-float--b { inset-inline-start: auto; inset-inline-end: 0; }
}
@media (max-width: 520px) {
	.kl-float { display: none; }
	.kl-hero__actions .kl-btn { flex: 1 1 100%; }
}

/* ── Categories marquee ──────────────────── */
.kl-cats { padding: 28px 0; border-block: 1px solid var(--kl-line); background: #fff; overflow: hidden; contain: paint; }
.kl-cats__viewport { overflow: hidden; direction: ltr; }
.kl-cats__label { text-align: center; color: var(--kl-muted); font-size: 15px; margin-bottom: 14px; }
.kl-cats__track { display: flex; gap: 12px; width: max-content; animation: kl-marquee 60s linear infinite; direction: rtl; }
.kl-cats:hover .kl-cats__track { animation-play-state: paused; }
.kl-cats__track span { padding: 8px 18px; border-radius: 999px; background: var(--kl-bg-2); border: 1px solid var(--kl-line); font-weight: 600; color: var(--kl-ink-2); white-space: nowrap; }
@keyframes kl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.kl-cats__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 20px; }
	.kl-cats__track [aria-hidden="true"] { display: none; }
	html { scroll-behavior: auto; }
}

/* ── Features ────────────────────────────── */
.kl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kl-feature { background: #fff; border: 1px solid var(--kl-line); border-radius: var(--kl-radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.kl-feature:hover { transform: translateY(-4px); box-shadow: var(--kl-shadow); border-color: transparent; }
.kl-feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--kl-brand-soft); color: var(--kl-brand-dark); margin-bottom: 18px; }
.kl-feature__icon svg { width: 28px; height: 28px; }
.kl-feature h3 { font-size: 20px; margin-bottom: 8px; }
.kl-feature p { color: var(--kl-muted); margin: 0; font-size: 16px; }
@media (max-width: 960px) { .kl-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kl-features { grid-template-columns: 1fr; } }

/* ── Steps ───────────────────────────────── */
.kl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.kl-step { position: relative; background: #fff; border-radius: var(--kl-radius); padding: 28px 26px 26px; box-shadow: 0 4px 16px rgba(0, 0, 0, .04); }
.kl-step::before {
	counter-increment: step; content: counter(step);
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
	background: var(--kl-brand); color: #fff; font-weight: 800; font-size: 20px;
}
.kl-step h3 { font-size: 19px; margin-bottom: 6px; }
.kl-step p { color: var(--kl-muted); margin: 0; font-size: 16px; }
.kl-step img { border-radius: 12px; margin-top: 14px; }
@media (max-width: 960px) { .kl-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kl-steps { grid-template-columns: 1fr; } }

/* ── About ───────────────────────────────── */
.kl-about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kl-about__media {
	position: relative; border-radius: 28px; background: linear-gradient(135deg, var(--kl-brand-soft), #fff);
	border: 1px solid var(--kl-line); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.kl-about__media img { width: 70%; }
.kl-about__media img.is-photo { width: 100%; height: 100%; object-fit: cover; }
.kl-about h2 { font-size: clamp(28px, 4vw, 38px); }
.kl-about__text { color: var(--kl-ink-2); }
.kl-values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kl-values li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.kl-values svg { width: 22px; height: 22px; color: var(--kl-brand); flex: none; margin-top: 3px; }
@media (max-width: 960px) { .kl-about { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .kl-values { grid-template-columns: 1fr; } }

/* ── Download band ───────────────────────── */
.kl-download { padding: 0 0 96px; }
.kl-download__box {
	position: relative; overflow: hidden; border-radius: 32px; padding: 56px;
	background: var(--kl-dark); color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
.kl-download__box::after {
	content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(243, 137, 42, .55), rgba(243, 137, 42, 0));
}
.kl-download h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.kl-download p { color: rgba(255, 255, 255, .75); font-size: 18px; }
.kl-download__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; position: relative; z-index: 1; }
.kl-download .kl-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.kl-download .kl-btn--ghost:hover { border-color: var(--kl-brand); color: #fff; }
.kl-download__icon { position: relative; z-index: 1; justify-self: center; width: 180px; height: 180px; border-radius: 42px; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); transform: rotate(6deg); }
.kl-download__icon img { width: 78%; }
.kl-download__note { font-size: 14px !important; margin: 16px 0 0; position: relative; z-index: 1; }
@media (max-width: 860px) {
	.kl-download__box { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
	.kl-download__actions { justify-content: center; }
	.kl-download__icon { width: 130px; height: 130px; border-radius: 32px; grid-row: 1; }
}

/* ── FAQ ─────────────────────────────────── */
.kl-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.kl-faq details { background: #fff; border: 1px solid var(--kl-line); border-radius: 16px; transition: box-shadow .2s ease; }
.kl-faq details[open] { box-shadow: var(--kl-shadow); border-color: transparent; }
.kl-faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.kl-faq summary::-webkit-details-marker { display: none; }
.kl-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--kl-brand-soft); color: var(--kl-brand-dark); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.kl-faq details[open] summary::after { transform: rotate(45deg); }
.kl-faq .kl-faq__a { padding: 0 24px 20px; color: var(--kl-ink-2); }
.kl-faq .kl-faq__a p:last-child { margin: 0; }

/* ── Contact ─────────────────────────────── */
.kl-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.kl-contact__cards { display: grid; gap: 14px; }
.kl-card-link { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--kl-line); border-radius: 18px; padding: 18px 20px; color: var(--kl-ink); transition: border-color .2s ease, transform .2s ease; }
a.kl-card-link:hover { border-color: var(--kl-brand); transform: translateY(-2px); color: var(--kl-ink); }
.kl-card-link i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--kl-brand-soft); color: var(--kl-brand-dark); flex: none; font-style: normal; }
.kl-card-link i svg { width: 24px; height: 24px; }
.kl-card-link small { display: block; color: var(--kl-muted); font-size: 14px; }
.kl-card-link strong { display: block; font-size: 17px; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.kl-social { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.kl-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--kl-line); color: var(--kl-ink-2); }
.kl-social a:hover { background: var(--kl-brand); border-color: var(--kl-brand); color: #fff; }
.kl-social svg { width: 20px; height: 20px; }

.kl-form { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--kl-shadow); }
.kl-form h3 { font-size: 22px; }
.kl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kl-field { display: grid; gap: 6px; margin-bottom: 14px; }
.kl-field label { font-weight: 700; font-size: 15px; }
.kl-field input, .kl-field textarea, .kl-field select {
	width: 100%; font: inherit; font-size: 16px; color: var(--kl-ink);
	background: var(--kl-bg-2); border: 1px solid var(--kl-line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, background .2s ease;
}
.kl-field input:focus, .kl-field textarea:focus, .kl-field select:focus { outline: none; border-color: var(--kl-brand); background: #fff; }
.kl-field textarea { min-height: 130px; resize: vertical; }
.kl-hp { position: absolute !important; left: -9999px !important; }
.kl-notice { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.kl-notice--ok { background: #e9f8ef; color: #17693b; }
.kl-notice--err { background: #fdecec; color: #a12626; }
.kl-form .kl-btn { width: 100%; }
@media (max-width: 960px) { .kl-contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kl-form { padding: 22px; } .kl-form__row { grid-template-columns: 1fr; gap: 0; } }

/* ── Footer ──────────────────────────────── */
.kl-footer { background: var(--kl-dark); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 16px; }
.kl-footer a { color: rgba(255, 255, 255, .8); }
.kl-footer a:hover { color: var(--kl-brand); }
.kl-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.kl-footer__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font-size: 22px; font-weight: 800; }
.kl-footer__logo img { width: 46px; height: 46px; border-radius: 12px; background: #fff; }
.kl-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.kl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kl-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.kl-footer .kl-social a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 860px) { .kl-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── Inner pages ─────────────────────────── */
.kl-page-hero { background: var(--kl-bg-2); padding: 56px 0 44px; border-bottom: 1px solid var(--kl-line); }
.kl-page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0; }
.kl-content { max-width: 820px; margin: 0 auto; padding: 48px 20px 88px; }
.kl-content h1, .kl-content h2, .kl-content h3 { margin-top: 1.4em; }
.kl-content img { border-radius: 12px; }
.kl-content hr { border: 0; border-top: 1px solid var(--kl-line); margin: 2em 0; }
.kl-content ul, .kl-content ol { padding-inline-start: 1.4em; }
.kl-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .kl-content select, .kl-content textarea {
	font: inherit; border: 1px solid var(--kl-line); border-radius: 12px; padding: 10px 14px; background: var(--kl-bg-2); max-width: 100%;
}
.kl-content button, .kl-content input[type="submit"] { font: inherit; }
.kl-404 { text-align: center; padding: 120px 20px; }
.kl-404 b { display: block; font-size: 110px; line-height: 1; color: var(--kl-brand); font-weight: 800; }

/* ── Reveal on scroll ────────────────────── */
.kl-js .kl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.kl-js .kl-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .kl-js .kl-reveal { opacity: 1; transform: none; transition: none; } }

/* ── Floating WhatsApp ───────────────────── */
.kl-wa { position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .2s ease; }
.kl-wa:hover { transform: scale(1.06); color: #fff; }
.kl-wa svg { width: 30px; height: 30px; }

.admin-bar .kl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .kl-header { top: 46px; } }
