/* ==========================================================================
   Kodim Prize — widget styles
   ========================================================================== */

/* -------- Hero -------- */
.kd-hero { position: relative; }
.kd-hero__bg {
	position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 720px; padding: 190px 30px 170px; color: #fff; overflow: hidden;
	background-size: cover; background-position: center; border-radius: 0 0 60px 60px;
}
.kd-hero__bg--default {
	background-color: #1E73BE;
	background-image:
		radial-gradient(45% 55% at 85% 85%, rgba(40, 167, 69, .55), transparent 70%),
		radial-gradient(40% 60% at 70% 45%, rgba(15, 76, 134, .75), transparent 70%),
		radial-gradient(55% 70% at 25% 40%, rgba(30, 115, 190, .9), transparent 70%),
		linear-gradient(120deg, #1E73BE, #1E73BE 45%, #0F4C86 80%, #DC3545);
	background-image: url("../images/hero-bg.jpg");
}
.kd-hero__bg::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.kd-hero__inner { position: relative; z-index: 2; max-width: 900px; margin-inline: auto; }
.kd-badge {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; font-weight: 500; color: #fff;
}
.kd-badge svg { color: var(--kd-primary); }
.kd-hero__title { color: #fff; margin: 0 0 24px; font-size: clamp(42px, 5.8vw, 84px); line-height: 1.08; }
.kd-hero__text { max-width: 640px; margin: 0 auto 38px; font-size: 18px; color: rgba(255, 255, 255, .92); }
.kd-hero__cards {
	position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: -170px;
}
.kd-hero-card {
	position: relative; min-height: 380px; padding: 40px; border-radius: 24px; color: #fff; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.kd-hero-card--purple { background: linear-gradient(160deg, #0F4C86 0%, #0F4C86 100%); }
.kd-hero-card--blue { background: linear-gradient(160deg, #1E73BE 0%, #1E73BE 100%); }
.kd-hero-card--custom { background: var(--kd-accent); }
.kd-hero-card__num { font-family: var(--kd-font-head); font-size: clamp(44px, 5vw, 72px); line-height: 1; margin-bottom: auto; color: #fff; }
.kd-hero-card--blue .kd-hero-card__num { margin-bottom: 20px; }
.kd-hero-card__title { color: #fff; font-family: var(--kd-font); font-weight: 600; font-size: 20px; margin: 0; line-height: 1.3; max-width: 240px; }
.kd-hero-card__chart { width: 100%; max-width: 280px; margin: 10px 0 24px; }
.kd-avatars { display: flex; margin-top: auto; padding-top: 20px; }
.kd-avatar { width: 52px; height: 52px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); object-fit: cover; margin-left: -12px; }
.kd-avatar:first-child { margin-left: 0; }
.kd-hero-card--image { background-size: cover; background-position: center; padding: 0; }
.kd-hero-card__overlay { padding: 34px 40px; background: linear-gradient(0deg, rgba(15,76,134, .75), transparent); display: flex; flex-direction: column; gap: 10px; min-height: 60%; justify-content: flex-end; }

/* -------- Section title -------- */
.kd-st { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.kd-st--stacked { flex-direction: column; align-items: stretch; }
.kd-st--stacked .kd-st__action { margin-top: 28px; }
.kd-st__title { margin: 0 0 18px; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.12; }
.kd-st__title:last-child { margin-bottom: 0; }
.kd-st__text { margin: 0; max-width: 620px; }
.kd-st--light .kd-st__title, .kd-st--light .kd-st__text { color: #fff; }
.kd-st--light .kd-st__text { opacity: .85; }
.kd-st__main { min-width: 0; }

/* -------- Marquee bands -------- */
.kd-marquee { position: relative; padding: 50px 0; overflow: hidden; }
.kd-marquee__band { overflow: hidden; padding: 24px 0; width: 104%; margin-left: -2%; white-space: nowrap; position: relative; }
.kd-marquee__track { display: inline-flex; animation: kd-marquee 40s linear infinite; will-change: transform; }
.kd-marquee__track.is-reverse { animation-direction: reverse; }
.kd-marquee__item { display: inline-flex; align-items: center; font-family: var(--kd-font-head); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; }
.kd-marquee__sep { display: inline-block; width: 12px; height: 12px; margin: 0 40px; border-radius: 50%; background: var(--kd-primary); }
@keyframes kd-marquee { to { transform: translateX(-50%); } }

/* -------- Services -------- */
.kd-services { display: grid; gap: 30px; }
.kd-services--card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kd-service--card, .kd-services--card .kd-service {
	position: relative; display: flex; flex-direction: column; gap: 90px; padding: 30px 34px 36px; border-radius: 20px;
	background-color: var(--kd-surface); overflow: hidden; transition: transform .35s var(--kd-ease), box-shadow .35s;
}
.kd-services--card .kd-service::before {
	content: ""; position: absolute; top: -40px; right: -40px; width: 260px; height: 260px; opacity: .55; pointer-events: none;
	background-image: radial-gradient(#bbb 1.2px, transparent 1.6px); background-size: 9px 9px;
	-webkit-mask-image: radial-gradient(circle at 70% 30%, #0F4C86, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #0F4C86, transparent 70%);
}
.kd-services--card .kd-service:hover { transform: translateY(-6px); box-shadow: var(--kd-shadow); }
.kd-service__icon { position: relative; display: grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(15,76,134, .05); }
.kd-service__icon img { width: 40px; height: 40px; }
.kd-service__title { font-size: 28px; margin-bottom: 14px; }
.kd-service__text { margin-bottom: 22px; font-size: 15px; }
.kd-services--numbered { gap: 0; }
.kd-services--numbered .kd-service { display: grid; grid-template-columns: 90px 1fr; gap: 30px; align-items: start; padding: 34px 0; border-top: 1px solid var(--kd-border); }
.kd-services--numbered .kd-service:last-child { border-bottom: 1px solid var(--kd-border); }
.kd-service__num { font-family: var(--kd-font-head); font-size: 24px; color: var(--kd-primary); }
.kd-services--numbered .kd-service__title { margin-bottom: 10px; }
.kd-services--numbered .kd-service__text { margin: 0; max-width: 700px; }

/* -------- Projects -------- */
.kd-projects { display: grid; gap: 30px; }
.kd-projects--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kd-projects--list .kd-project {
	display: grid; grid-template-columns: 1.4fr 1fr; background: var(--kd-surface); border-radius: 20px; overflow: hidden; min-height: 400px;
}
.kd-projects--list .kd-project__img { display: block; height: 100%; overflow: hidden; }
.kd-projects--list .kd-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--kd-ease); }
.kd-project:hover .kd-project__img img { transform: scale(1.05); }
.kd-projects--list .kd-project__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.kd-project__title { font-size: clamp(26px, 2.4vw, 34px); margin: 0; }
.kd-project__text { margin: 0; font-size: 15px; }
.kd-project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.kd-projects--grid .kd-project { position: relative; overflow: hidden; border-radius: 20px; background: var(--kd-surface); }
.kd-projects--grid .kd-project__img { display: block; overflow: hidden; aspect-ratio: 4 / 3.2; }
.kd-projects--grid .kd-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--kd-ease); }
.kd-projects--grid .kd-project__body { padding: 22px 26px 26px; }
.kd-project__cat { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--kd-primary); }
.kd-projects--grid .kd-project__title { font-size: 24px; }
.kd-project.is-hidden { display: none; }
.kd-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.kd-filter__btn { padding: 10px 20px; border: 1px solid var(--kd-border); border-radius: 8px; background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s; }
.kd-filter__btn:hover, .kd-filter__btn.is-active { background: var(--kd-primary); border-color: var(--kd-primary); color: #fff; }

/* -------- Feature list -------- */
.kd-features { display: grid; gap: 24px; }
.kd-features--list .kd-feature { display: flex; gap: 20px; align-items: flex-start; }
.kd-feature__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 1px solid var(--kd-border); }
.kd-feature__icon img { width: 30px; height: 30px; }
.kd-feature__title { font-family: var(--kd-font); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.kd-feature__text { margin: 0; font-size: 15px; }
.kd-features--boxes .kd-feature { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--kd-border); border-radius: 16px; background: #fff; transition: box-shadow .3s, transform .3s; }
.kd-features--boxes .kd-feature:hover { box-shadow: var(--kd-shadow); transform: translateY(-4px); }
.kd-features--boxes .kd-feature__icon { width: auto; height: auto; border: 0; border-radius: 0; background: none; justify-content: start; }
.kd-features--boxes .kd-feature__icon img { width: 42px; height: 42px; }
.kd-features--cards .kd-feature { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px; border-radius: 14px; background: #fff; min-height: 180px; }
.kd-features--cards .kd-feature__title { font-family: var(--kd-font); font-weight: 600; font-size: 22px; line-height: 1.25; }
.kd-features--cards .kd-feature__icon { width: 52px; height: 52px; border: 0; border-radius: 0; background: none; }
.kd-features--cards .kd-feature__icon img { width: 48px; height: 48px; }
.kd-features--contact .kd-feature { display: flex; flex-direction: column; gap: 14px; padding: 34px; border-radius: 20px; background: var(--kd-surface); }
.kd-features--contact .kd-feature__icon { width: 56px; height: 56px; border: 0; background: #fff; }
.kd-features--contact .kd-feature__title { font-family: var(--kd-font-head); font-weight: 400; font-size: 24px; }
.kd-feature__lines { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: var(--kd-secondary); }
.kd-feature__link { font-weight: 600; color: var(--kd-secondary); text-decoration: underline; text-underline-offset: 4px; }
.kd-feature__link:hover { color: var(--kd-primary); }

/* -------- Counters -------- */
.kd-counters { display: grid; gap: 30px; }
.kd-counter__num {
	font-family: var(--kd-font-head); font-size: clamp(48px, 6vw, 90px); line-height: 1; margin-bottom: 14px;
	background: linear-gradient(90deg, var(--kd-primary), var(--kd-accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kd-counter__title { font-family: var(--kd-font); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.kd-counter__text { margin: 0; font-size: 15px; }
.kd-counters--boxed .kd-counter { padding: 32px; background: var(--kd-surface); border-radius: 20px; }
.kd-counters--dividers .kd-counter { padding-left: 30px; border-left: 1px solid var(--kd-border); }

/* -------- Testimonials -------- */
.kd-testi { position: relative; display: grid; grid-template-columns: 160px 1fr auto; gap: 40px; align-items: center; padding: 60px; border-radius: 24px; background: var(--kd-surface); }
.kd-testi__badge { position: relative; width: 140px; height: 140px; margin-inline: auto; }
.kd-testi__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: kd-spin 24s linear infinite; }
.kd-testi__ring text { fill: var(--kd-primary); font-family: var(--kd-font); }
.kd-testi__badge-icon { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border-radius: 50%; background: var(--kd-primary); }
@keyframes kd-spin { to { transform: rotate(360deg); } }
.kd-testi__slides { display: grid; }
.kd-testi__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--kd-ease), transform .5s var(--kd-ease), visibility .5s; }
.kd-testi__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.kd-testi__quote { margin: 0 0 40px; font-family: var(--kd-font); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--kd-secondary); }
.kd-testi__author { display: flex; align-items: center; gap: 16px; }
.kd-testi__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.kd-testi__name { display: block; font-weight: 600; color: var(--kd-secondary); }
.kd-testi__role { display: block; font-size: 13px; color: var(--kd-lighter); }
.kd-testi__nav { display: flex; gap: 10px; align-self: end; }
.kd-testi__btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; font-size: 18px; color: var(--kd-secondary); cursor: pointer; transition: all .25s; }
.kd-testi__btn:hover { background: var(--kd-primary); color: #fff; }

/* -------- Team -------- */
.kd-team { display: grid; gap: 30px; }
.kd-member__photo { position: relative; border-radius: 20px; overflow: hidden; background: var(--kd-surface); margin-bottom: 20px; }
.kd-member__photo img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; transition: transform .6s var(--kd-ease); }
.kd-member:hover .kd-member__photo img { transform: scale(1.04); }
.kd-member__socials { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.kd-member__share { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--kd-primary); color: #fff; cursor: pointer; transition: background .25s; }
.kd-member__share:hover { background: #0F4C86; }
.kd-member__links { order: -1; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: var(--kd-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--kd-ease); }
.kd-member__links a { padding: 4px 10px; font-size: 13px; font-weight: 600; color: #0F4C86; border-radius: 6px; }
.kd-member__links a:hover { background: var(--kd-surface); color: var(--kd-primary); }
.kd-member__socials.is-open .kd-member__links, .kd-member__socials:hover .kd-member__links { opacity: 1; visibility: visible; transform: none; }
.kd-member__name { font-family: var(--kd-font); font-weight: 600; font-size: 20px; margin: 0 0 2px; }
.kd-member__role { font-size: 13px; color: var(--kd-lighter); }

/* -------- Posts / cards -------- */
.kd-post-card { display: flex; flex-direction: column; gap: 22px; }
.kd-post-card__thumb { display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: var(--kd-surface); }
.kd-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--kd-ease); }
.kd-post-card:hover .kd-post-card__thumb img { transform: scale(1.05); }
.kd-post-card__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #0F4C86, #1E73BE); }
.kd-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; font-size: 14px; }
.kd-post-card__meta a { color: inherit; }
.kd-post-card__meta a.kd-chip { color: #fff; }
.kd-post-card__title { font-family: var(--kd-font-head); font-size: 24px; line-height: 1.25; margin-bottom: 16px; }
.kd-post-card__excerpt { margin-bottom: 18px; }
.kd-posts--list .kd-post-card { flex-direction: row; align-items: center; gap: 40px; padding: 24px; border-radius: 24px; background: var(--kd-surface); }
.kd-posts--list .kd-post-card__thumb { flex: 0 0 40%; }

/* -------- Forms -------- */
.kd-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.kd-newsletter { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; background: #fff; border-radius: 10px; flex-wrap: wrap; }
.kd-newsletter__icon { color: var(--kd-primary); display: grid; }
.kd-newsletter input[type=email] { flex: 1; min-width: 140px; padding: 12px 6px; border: 0; background: transparent; outline: 0; color: #0F4C86; font-size: 14px; }
.kd-newsletter button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; background: transparent; color: #0F4C86; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.kd-newsletter button .kd-arrow { color: var(--kd-primary); }
.kd-newsletter button:hover { color: var(--kd-primary); }
.kd-form-msg { flex-basis: 100%; margin: 0; padding: 0 12px; font-size: 14px; min-height: 0; }
.kd-form-msg:empty { display: none; }
.kd-ajax-form.is-success .kd-form-msg { color: #28A745; }
.kd-ajax-form.is-error .kd-form-msg { color: #DC3545; }
.kd-ajax-form.is-loading { opacity: .7; pointer-events: none; }
.kd-contact-form { display: flex; flex-direction: column; gap: 18px; }
.kd-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kd-contact-form input:not([type=hidden]):not(.kd-hp), .kd-contact-form textarea { width: 100%; padding: 17px 22px; border: 1px solid var(--kd-border); border-radius: 10px; background: #fff; color: #0F4C86; outline: 0; transition: border-color .25s, box-shadow .25s; }
.kd-contact-form input:focus, .kd-contact-form textarea:focus { border-color: var(--kd-primary); box-shadow: 0 0 0 3px rgba(30, 115, 190, .15); }
.kd-contact-form .kd-btn { align-self: flex-start; }
.kd-contact-form .kd-form-msg { padding: 0; }

/* -------- Pricing -------- */
.kd-toggle { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 5px; margin-bottom: 40px; border-radius: 10px; background: var(--kd-surface); }
.kd-toggle__btn { padding: 11px 24px; border: 0; border-radius: 8px; background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s; }
.kd-toggle__btn.is-active { background: var(--kd-primary); color: #fff; }
.kd-toggle__badge { margin: 0 10px; padding: 4px 10px; border-radius: 20px; background: #d6f1dc; color: #0F4C86; font-size: 12px; font-weight: 700; }
.kd-pricing__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.kd-plan { position: relative; display: flex; flex-direction: column; padding: 40px 36px; border-radius: 20px; background: var(--kd-surface); border: 1px solid transparent; transition: transform .3s var(--kd-ease), box-shadow .3s; }
.kd-plan:hover { transform: translateY(-6px); box-shadow: var(--kd-shadow); }
.kd-plan.is-featured { background: #fff; border-color: var(--kd-primary); box-shadow: var(--kd-shadow); }
.kd-plan__badge { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 6px; background: var(--kd-primary); color: #fff; font-size: 12px; font-weight: 700; }
.kd-plan__name { font-size: 28px; margin-bottom: 10px; }
.kd-plan__desc { font-size: 15px; min-height: 48px; }
.kd-plan__price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 26px; font-family: var(--kd-font-head); color: var(--kd-secondary); }
.kd-plan__price[hidden], .kd-plan__features[hidden] { display: none; }
.kd-plan__price sup { font-size: 28px; top: 0; }
.kd-plan__price span { font-size: 64px; line-height: 1; }
.kd-plan__price small { font-family: var(--kd-font); font-size: 14px; color: var(--kd-lighter); }
.kd-plan__features { list-style: none; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--kd-border); display: grid; gap: 14px; }
.kd-plan__features li { position: relative; padding-left: 28px; font-size: 15px; color: #0F4C86; }
.kd-plan__features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--kd-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.500 8.200l2.300 2.300 4.700-4.800' fill='none' stroke='%23fff' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* -------- FAQ -------- */
.kd-faq { display: grid; gap: 16px; }
.kd-faq__item { border: 1px solid var(--kd-border); border-radius: 14px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.kd-faq__item.is-open { border-color: var(--kd-primary); box-shadow: var(--kd-shadow); }
.kd-faq__qwrap { margin: 0; font-size: inherit; }
.kd-faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; border: 0; background: none; text-align: left; font-family: var(--kd-font-head); font-size: 20px; color: var(--kd-secondary); cursor: pointer; }
.kd-faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--kd-surface); transition: background .25s; }
.kd-faq__icon::before, .kd-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--kd-secondary); transition: transform .3s var(--kd-ease), background .25s; }
.kd-faq__icon::after { transform: rotate(90deg); }
.kd-faq__item.is-open .kd-faq__icon { background: var(--kd-primary); }
.kd-faq__item.is-open .kd-faq__icon::before, .kd-faq__item.is-open .kd-faq__icon::after { background: #fff; }
.kd-faq__item.is-open .kd-faq__icon::after { transform: rotate(0); }
.kd-faq__a[hidden] { display: none; }
.kd-faq__a-inner { padding: 0 30px 28px; }
.kd-faq__a-inner > :last-child { margin-bottom: 0; }

/* -------- Logos -------- */
.kd-logos { overflow: hidden; }
.kd-logos__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.kd-logos img { height: 34px; width: auto; max-width: none; }
.kd-logos.is-scroll .kd-logos__row { flex-wrap: nowrap; width: max-content; justify-content: flex-start; animation: kd-marquee 30s linear infinite; }

/* -------- Steps -------- */
.kd-steps { display: grid; gap: 30px; }
.kd-steps--columns .kd-step { position: relative; padding: 34px 28px; border-radius: 20px; background: var(--kd-surface); }
.kd-steps--columns .kd-step__num { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 40px; border-radius: 50%; background: var(--kd-primary); color: #fff; font-family: var(--kd-font-head); font-size: 20px; }
.kd-step__title { font-size: 24px; margin-bottom: 12px; }
.kd-step__text { margin: 0; font-size: 15px; }
.kd-steps--rows { gap: 0; }
.kd-steps--rows .kd-step { display: grid; grid-template-columns: 1fr 2fr 100px; align-items: center; gap: 30px; padding: 30px 0; border-top: 1px solid var(--kd-border); }
.kd-steps--rows .kd-step:last-child { border-bottom: 1px solid var(--kd-border); }
.kd-steps--rows .kd-step__num { order: 3; text-align: right; font-family: var(--kd-font-head); font-size: 22px; color: var(--kd-primary); }
.kd-steps--rows .kd-step__body { display: contents; }
.kd-steps--rows .kd-step__title { order: 1; margin: 0; }
.kd-steps--rows .kd-step__text { order: 2; }

/* -------- Image with badges -------- */
.kd-visual { position: relative; max-width: 560px; margin-inline: auto; }
.kd-visual__img img { width: 100%; height: auto; }
.kd-visual--rounded .kd-visual__img { border-radius: 30px; overflow: hidden; }
.kd-visual--arch .kd-visual__img { border-radius: 300px 300px 30px 30px; overflow: hidden; }
.kd-visual__shape { position: absolute; z-index: 0; right: -60px; top: -40px; width: 200px; animation: kd-float 6s ease-in-out infinite; }
.kd-visual__img { position: relative; z-index: 1; }
@keyframes kd-float { 50% { transform: translateY(-14px); } }
.kd-vbadge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(15,76,134, .16); font-size: 13px; line-height: 1.3; animation: kd-float 7s ease-in-out infinite; }
.kd-vbadge strong { display: block; color: var(--kd-secondary); font-weight: 600; }
.kd-vbadge em { display: block; font-style: normal; color: var(--kd-lighter); font-size: 12px; }
.kd-vbadge b { display: block; font-family: var(--kd-font-head); font-weight: 400; font-size: 22px; color: var(--kd-secondary); }
.kd-vbadge__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #eef5fb; flex: none; }
.kd-vbadge__icon img { width: 22px; height: 22px; }
.kd-vbadge--badge { border-radius: 40px; }
.kd-vbadge--badge .kd-vbadge__icon { background: #28A745; }
.kd-vbadge--badge .kd-vbadge__value { display: block; font-family: var(--kd-font); font-weight: 700; font-size: 18px; }
.kd-vbadge--pill { border-radius: 40px; padding: 10px 18px 10px 12px; }
.kd-vbadge--stat { min-width: 220px; }
.kd-ring { --pct: 80; position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; flex: none; background: conic-gradient(var(--kd-primary) calc(var(--pct) * 1%), #d8e9f6 0); }
.kd-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.kd-ring b { position: relative; font-family: var(--kd-font); font-weight: 700; font-size: 16px; }

/* -------- Link list (footer) -------- */
.kd-linklist__title { margin-bottom: 22px; font-family: var(--kd-font); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: .85; }
.kd-linklist ul { list-style: none; margin: 0; padding: 0; }
.kd-linklist li + li { margin-top: 12px; }
.kd-linklist a { font-size: 14px; font-weight: 500; color: #fff; transition: color .25s, padding .25s; }
.kd-linklist a:hover { color: var(--kd-primary); padding-left: 4px; }

/* Footer helper classes (applied to native Elementor containers in the demo) */
.kd-footer-main { position: relative; border-radius: 0 0 60px 60px; overflow: hidden; }
.kd-footer-socials a { margin-right: 24px; font-size: 13px; font-weight: 600; color: #fff; }
.kd-footer-socials a:hover { color: var(--kd-primary); }
.kd-footer-bottom a { color: #fff; }
.kd-footer-bottom a:hover { color: var(--kd-primary); }
.kd-on-dark, .kd-on-dark p, .kd-on-dark .elementor-heading-title { color: #fff; }
.kd-on-dark a:hover { color: var(--kd-primary); }
.kd-grad-purple { background: linear-gradient(160deg, #0F4C86 0%, #1E73BE 100%); }
.kd-grad-ink { background: linear-gradient(135deg, #0F4C86, #1E73BE); }
.kd-grad-green { background: linear-gradient(160deg, #1b8a37 0%, #28A745 100%); }
.kd-rounded-lg { border-radius: 60px; }
.kd-rounded-bottom { border-radius: 0 0 60px 60px; }
.kd-top-gap { margin-top: -60px; }
.kd-deco-float { animation: kd-float 7s ease-in-out infinite; }

/* -------- Specificity guards: Elementor Kit heading colors must not override light-on-dark theme elements -------- */
body.kd-theme .kd-hero__title, body.kd-theme .kd-hero-card__title, body.kd-theme .kd-hero-card__num, body.kd-theme .kd-banner__title,
body.kd-theme .kd-st--light .kd-st__title, body.kd-theme .kd-st--light .kd-st__text, body.kd-theme .kd-on-dark h1, body.kd-theme .kd-on-dark h2, body.kd-theme .kd-on-dark h3,
body.kd-theme .kd-on-dark h4, body.kd-theme .kd-on-dark h5, body.kd-theme .kd-on-dark .elementor-heading-title, body.kd-theme .kd-on-dark .elementor-widget-text-editor,
body.kd-theme .kd-on-dark .kd-linklist__title, body.kd-theme .kd-on-dark .kd-linklist a { color: #fff; }
body.kd-theme .kd-hero__text { color: rgba(255, 255, 255, .92); }
body.kd-theme .kd-on-dark .kd-feature--card .kd-feature__title,
body.kd-theme .kd-features--cards .kd-feature__title { color: var(--kd-secondary); }
body.kd-theme .kd-on-dark .kd-features--cards .kd-feature__text { color: var(--kd-text); }
body.kd-theme .kd-on-dark .kd-project__title, body.kd-theme .kd-on-dark .kd-project__title a { color: var(--kd-secondary); }
body.kd-theme .kd-on-dark .kd-project__text { color: var(--kd-text); }
body.kd-theme .kd-on-dark .kd-testi__quote, body.kd-theme .kd-on-dark .kd-testi__name { color: var(--kd-secondary); }
body.kd-theme .kd-on-dark .kd-testi__role { color: var(--kd-lighter); }
body.kd-theme .kd-on-dark .kd-link-arrow { color: var(--kd-secondary); }
body.kd-theme .kd-on-dark .kd-tag { color: var(--kd-text); }
body.kd-theme .kd-on-dark .kd-counter__title, body.kd-theme .kd-on-dark .kd-counter__text { color: #fff; }
body.kd-theme .kd-on-dark .kd-counter__num { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.kd-jobsummary { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kd-jobsummary strong { color: var(--kd-secondary); }
.kd-round-img img { border-radius: 20px; width: 100%; }
.kd-pricing > .kd-toggle { display: flex; width: fit-content; margin-inline: auto; }
