/* The King Web — demo v2 body styles (kd-*). Header and footer keep their own CSS. */

/* ---------- Palettes, following Primary / Secondary / Accent / Neutrals and 60-30-10 ---------- */
:root, :root[data-palette="a"] {
  --kd-primary: #667EEA;
  --kd-primary-2: #764BA2;
  --kd-secondary: #1088BA;
  --kd-accent: #FDC729;
  --kd-grad: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  --kd-grad-text: linear-gradient(90deg, #9AABFF, #C39BF3, #8FD3F0, #9AABFF);
  --kd-glow-1: rgba(102, 126, 234, .55);
  --kd-glow-2: rgba(118, 75, 162, .55);
  --kd-glow-3: rgba(16, 136, 186, .45);
  --kd-dark: #121217;
  --kd-bg: #FFFFFF;
  --kd-soft: #F7F7F8;
  --kd-text: #4A4A5C;
  --kd-heading: #121217;
  --kd-muted: #74748A;
  --kd-line: #E8E8EF;
  --kd-card: #FFFFFF;
}
:root[data-palette="b"] {
  --kd-primary: #1088BA;
  --kd-primary-2: #667EEA;
  --kd-secondary: #764BA2;
  --kd-accent: #FDC729;
  --kd-grad: linear-gradient(135deg, #1088BA 0%, #4F7BE8 55%, #764BA2 100%);
  --kd-grad-text: linear-gradient(90deg, #4CC3F0, #8EA2FF, #B892F2, #4CC3F0);
  --kd-glow-1: rgba(16, 136, 186, .6);
  --kd-glow-2: rgba(102, 126, 234, .5);
  --kd-glow-3: rgba(118, 75, 162, .45);
  --kd-dark: #0D1622;
  --kd-bg: #FFFFFF;
  --kd-soft: #F3F8FB;
  --kd-text: #3E4656;
  --kd-heading: #0D1622;
  --kd-muted: #6A7385;
  --kd-line: #E2EAF0;
  --kd-card: #FFFFFF;
}
:root[data-palette="c"] {
  --kd-primary: #8494FF;
  --kd-primary-2: #A274E6;
  --kd-secondary: #22A8DD;
  --kd-accent: #FDC729;
  --kd-grad: linear-gradient(135deg, #22A8DD 0%, #667EEA 50%, #9B6BDB 100%);
  --kd-grad-text: linear-gradient(90deg, #5CD0FF, #A5B4FF, #D1A6FF, #5CD0FF);
  --kd-glow-1: rgba(34, 168, 221, .55);
  --kd-glow-2: rgba(102, 126, 234, .55);
  --kd-glow-3: rgba(155, 107, 219, .5);
  --kd-dark: #0B0B11;
  --kd-bg: #0F0F16;
  --kd-soft: #13131C;
  --kd-text: #C2C3D3;
  --kd-heading: #FFFFFF;
  --kd-muted: #8E8FA3;
  --kd-line: rgba(255, 255, 255, .09);
  --kd-card: #181822;
}

/* ---------- Base (beats the Elementor kit rules the live site applies to every link and heading) ---------- */
.kd { font-family: Poppins, sans-serif; color: var(--kd-text); background: var(--kd-bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background .5s, color .5s; }
.kd *, .kd *::before, .kd *::after { box-sizing: border-box; }
.kd a { color: inherit; font-size: inherit; line-height: inherit; font-family: inherit; text-decoration: none; }
.kd h1, .kd h2, .kd h3, .kd p { margin: 0; }
.kd-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Reveal on scroll (only once JS is running) ---------- */
@keyframes kd-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.kd-js [data-kd-reveal] { opacity: 0; }
.kd-js [data-kd-reveal].kd-in { animation: kd-rise .9s cubic-bezier(.2, .7, .2, 1) var(--kd-d, 0s) both; }

/* ---------- Buttons ---------- */
.kd .kd-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.2; border: 1.5px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s; }
.kd .kd-btn i { font-size: 14px; transition: transform .25s; }
.kd .kd-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.kd .kd-btn--primary { color: #fff; background: var(--kd-grad); box-shadow: 0 12px 30px -10px var(--kd-glow-2); }
.kd .kd-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 42px -12px var(--kd-glow-1); }
.kd .kd-btn--primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .7s; }
.kd .kd-btn--primary:hover::after { left: 125%; }
.kd .kd-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); }
.kd .kd-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.kd .kd-btn--outline { color: var(--kd-heading); border-color: var(--kd-line); background: var(--kd-card); }
.kd .kd-btn--outline:hover { color: var(--kd-primary); border-color: var(--kd-primary); transform: translateY(-2px); }
.kd .kd-btn--gold { color: #121217; background: var(--kd-accent); box-shadow: 0 12px 30px -12px rgba(253, 199, 41, .75); }
.kd .kd-btn--gold:hover { color: #121217; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(253, 199, 41, .9); }

/* ---------- Shared bits ---------- */
.kd-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: kd-pulse 2s infinite; flex: none; }
@keyframes kd-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.kd-orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .8; pointer-events: none; animation: kd-drift 20s ease-in-out infinite alternate; transition: background .6s; }
@keyframes kd-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -35px) scale(1.1); } 100% { transform: translate(-40px, 30px) scale(.94); } }
@keyframes kd-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.kd-gradtext { background: var(--kd-grad-text); background-size: 300% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: kd-shine 8s linear infinite; }
@keyframes kd-shine { to { background-position: 300% center; } }
.kd-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--kd-primary); margin-bottom: 14px; }
.kd-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--kd-grad); }
.kd .kd-h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.12; letter-spacing: -1.2px; color: var(--kd-heading); }
.kd .kd-h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; color: var(--kd-heading); margin: 0 0 8px; }
.kd-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.kd-head p { font-size: 17.5px; line-height: 1.75; color: var(--kd-text); margin-top: 18px; }
.kd-section { padding: 110px 0; background: var(--kd-bg); transition: background .5s; }
.kd-section--soft { background: var(--kd-soft); }
.kd-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--kd-grad); color: #fff; font-size: 20px; box-shadow: 0 14px 26px -12px var(--kd-glow-1); margin-bottom: 18px; }
.kd-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--kd-primary) 12%, transparent); color: var(--kd-primary); margin-bottom: 12px; }
.kd-badge--gold { background: rgba(253, 199, 41, .18); color: #8A6A00; }
:root[data-palette="c"] .kd-badge--gold { color: var(--kd-accent); }

/* ---------- Cards with a gradient edge on hover ---------- */
.kd-card { position: relative; background: var(--kd-card); border: 1px solid var(--kd-line); border-radius: 20px; padding: 28px 24px; transition: transform .35s, box-shadow .35s, border-color .35s, background .5s; }
.kd-card::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1.5px; background: var(--kd-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.kd .kd-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px var(--kd-glow-2); }
.kd .kd-card:hover::before { opacity: 1; }
.kd-card p { font-size: 15px; line-height: 1.65; color: var(--kd-text); }

/* ---------- Hero ---------- */
.kd-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--kd-dark); color: #fff; padding: 80px 0 120px; transition: background .5s; }
.kd-hero::before, .kd-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 80%); }
.kd-orb--1 { width: 560px; height: 560px; background: var(--kd-glow-1); top: -220px; left: -160px; }
.kd-orb--2 { width: 480px; height: 480px; background: var(--kd-glow-2); bottom: -260px; left: 38%; animation-duration: 24s; }
.kd-orb--3 { width: 380px; height: 380px; background: var(--kd-glow-3); top: 8%; right: -140px; animation-duration: 28s; }
.kd-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.kd-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); }
.kd .kd-h1 { font-size: clamp(34px, 3.9vw, 54px); font-weight: 500; line-height: 1.1; letter-spacing: -1.6px; color: #fff; margin-top: 20px; }
.kd-lede { font-size: 17px; line-height: 1.72; color: rgba(255, 255, 255, .74); margin: 22px 0 32px; max-width: 590px; }
.kd-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.kd-terms { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.kd-terms span { display: inline-flex; align-items: center; gap: 8px; }
.kd-terms i { color: var(--kd-accent); }

.kd-visual { position: relative; perspective: 1500px; padding-bottom: 40px; }
.kd-browser { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotateY(-11deg) rotateX(5deg); transform-origin: 70% 50%; animation: kd-bob 7s ease-in-out infinite; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.kd-visual:hover .kd-browser { transform: rotateY(-3deg) rotateX(1deg); }
.kd-browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #F1F2F6; border-bottom: 1px solid #E2E3EA; }
.kd-browser__bar .d { width: 10px; height: 10px; border-radius: 50%; }
.kd-browser__bar .d1 { background: #FF5F57; } .kd-browser__bar .d2 { background: #FEBC2E; } .kd-browser__bar .d3 { background: #28C840; }
.kd-browser__url { flex: 1; display: flex; align-items: center; gap: 7px; margin-left: 8px; padding: 5px 12px; border-radius: 8px; background: #fff; color: #5A5A66; font-size: 12px; }
.kd-browser__url i { font-size: 10px; color: #2E9D57; }
.kd-browser__tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: #121217; color: #FDC729; }
.kd-shot { display: block; width: 100%; aspect-ratio: 1280 / 735; object-fit: cover; object-position: center bottom; }

.kd-test { position: absolute; left: -44px; bottom: -6px; width: 292px; padding: 16px 16px 12px; border-radius: 16px; background: rgba(18, 18, 23, .88); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); color: #fff; animation: kd-bob 8s ease-in-out infinite reverse; }
.kd-test__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.kd-test__title { font-weight: 600; font-size: 14px; }
.kd-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(253, 199, 41, .16); color: #FDC729; }
.kd-test__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 8px; }
.kd-test__bar i { display: block; height: 100%; width: 0; background: var(--kd-grad); transition: width .5s ease; }
.kd-test ul { list-style: none; margin: 0; padding: 0; }
.kd-test li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; color: rgba(255, 255, 255, .45); transition: color .3s; }
.kd-test li.is-running { color: rgba(255, 255, 255, .85); }
.kd-test li.is-done { color: #fff; }
.kd-state { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .16); }
.kd-test li.is-running .kd-state { border-top-color: #FDC729; animation: kd-spin .7s linear infinite; }
.kd-test li.is-done .kd-state { border-color: transparent; background: #FDC729; animation: kd-pop .35s cubic-bezier(.2, .9, .3, 1.4); }
.kd-test li.is-done .kd-state::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #121217; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes kd-spin { to { transform: rotate(360deg); } }
@keyframes kd-pop { from { transform: scale(.4); } to { transform: scale(1); } }
.kd-test__foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 9px; border-top: 1px dashed rgba(255, 255, 255, .16); font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.kd-test__foot b { color: #FDC729; }

/* ---------- Tool marquee ---------- */
.kd-marquee { padding: 30px 0 34px; background: var(--kd-bg); border-bottom: 1px solid var(--kd-line); transition: background .5s; }
.kd-marquee__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--kd-muted); margin-bottom: 18px !important; }
.kd-marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.kd-marquee__track { display: flex; gap: 14px; width: max-content; animation: kd-scroll 45s linear infinite; }
.kd-marquee:hover .kd-marquee__track { animation-play-state: paused; }
@keyframes kd-scroll { to { transform: translateX(calc(-50% - 7px)); } }
.kd-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 13px; border: 1px solid var(--kd-line); background: var(--kd-card); color: var(--kd-heading); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .5s, border-color .5s; }
.kd-chip i { color: var(--kd-primary); font-size: 15px; }

/* ---------- Why ---------- */
.kd-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Packages ---------- */
.kd-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.kd-pkg { display: flex; flex-direction: column; padding: 32px 28px 28px; }
.kd-pkg--featured { border: 2px solid transparent; background: linear-gradient(var(--kd-card), var(--kd-card)) padding-box, var(--kd-grad) border-box; box-shadow: 0 34px 64px -34px var(--kd-glow-2); }
.kd-pkg--featured::before { display: none; }
.kd-pkg__crown { position: absolute; top: -20px; right: 26px; width: 46px; height: auto; filter: drop-shadow(0 8px 12px rgba(253, 199, 41, .5)); animation: kd-bob 5s ease-in-out infinite; }
.kd-pkg__num { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--kd-muted); }
.kd .kd-pkg__name { font-size: 25px; font-weight: 600; letter-spacing: -.5px; color: var(--kd-heading); margin: 6px 0 8px; }
.kd-pkg__desc { min-height: 72px; font-size: 14.5px !important; }
.kd-price { display: flex; align-items: baseline; gap: 7px; margin: 20px 0 4px; }
.kd-price b { font-size: 46px; font-weight: 600; letter-spacing: -1.5px; line-height: 1; color: var(--kd-heading); }
.kd-price span { font-size: 16px; font-weight: 500; color: var(--kd-muted); }
.kd-pkg__meta { font-size: 13.5px; color: var(--kd-muted); margin-bottom: 18px; }
.kd-list { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--kd-line); flex: 1; }
.kd-list li { display: flex; gap: 11px; align-items: flex-start; padding: 6px 0; font-size: 14.5px; line-height: 1.5; color: var(--kd-text); }
.kd-list li i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--kd-grad); }
.kd-list li.no { color: var(--kd-muted); }
.kd-list li.no i { background: var(--kd-line); color: var(--kd-muted); }
.kd-pkg .kd-btn { justify-content: center; }
.kd-founding { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 20px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(253, 199, 41, .2), rgba(253, 199, 41, .05)); border: 1px solid rgba(253, 199, 41, .5); }
.kd-founding__badge { flex: none; font-weight: 700; font-size: 20px; color: #121217; background: #FDC729; border-radius: 12px; padding: 10px 14px; box-shadow: 0 10px 24px -10px rgba(253, 199, 41, .9); }
.kd-founding p { color: var(--kd-heading); font-size: 15px; }
.kd-founding strong { display: block; font-size: 17px; font-weight: 600; }
.kd-note { margin-top: 16px !important; text-align: center; font-size: 13.5px; color: var(--kd-muted); }

/* ---------- Process ---------- */
.kd-steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.kd-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 3px; border-radius: 3px; background: var(--kd-line); }
.kd-steps__fill { position: absolute; left: 8%; top: 27px; height: 3px; width: 0; border-radius: 3px; background: var(--kd-grad); transition: width 2.6s cubic-bezier(.2, .7, .2, 1); }
.kd-steps.kd-in .kd-steps__fill { width: 84%; }
.kd-step { position: relative; text-align: center; }
.kd-step__dot { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 18px; color: var(--kd-muted); background: var(--kd-card); border: 2px solid var(--kd-line); transition: color .5s, background .5s, border-color .5s, box-shadow .5s, transform .5s; }
.kd-steps.kd-in .kd-step__dot { color: #fff; background: var(--kd-grad); border-color: transparent; box-shadow: 0 12px 26px -10px var(--kd-glow-1); }
.kd-steps.kd-in .kd-step:nth-child(2) .kd-step__dot { transition-delay: .45s; }
.kd-steps.kd-in .kd-step:nth-child(3) .kd-step__dot { transition-delay: .9s; }
.kd-steps.kd-in .kd-step:nth-child(4) .kd-step__dot { transition-delay: 1.35s; }
.kd-steps.kd-in .kd-step:nth-child(5) .kd-step__dot { transition-delay: 1.8s; }
.kd-steps.kd-in .kd-step:nth-child(6) .kd-step__dot { transition-delay: 2.25s; }
.kd-step:hover .kd-step__dot { transform: scale(1.08); }
.kd-step .kd-h3 { font-size: 16px; }
.kd-step p { font-size: 14px; line-height: 1.6; color: var(--kd-text); }

/* ---------- Dark section: repair + maintenance ---------- */
.kd-dark { position: relative; overflow: hidden; isolation: isolate; background: var(--kd-dark); color: rgba(255, 255, 255, .8); padding: 110px 0; transition: background .5s; }
.kd-dark .kd-h2 { color: #fff; }
.kd-dark .kd-head p { color: rgba(255, 255, 255, .7); }
.kd-dark .kd-kicker { color: #FDC729; }
.kd-orb--4 { width: 520px; height: 520px; background: var(--kd-glow-2); top: -200px; right: -120px; }
.kd-orb--5 { width: 420px; height: 420px; background: var(--kd-glow-3); bottom: -220px; left: -120px; animation-duration: 26s; }
.kd-split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 22px; }
.kd-glass { position: relative; border-radius: 22px; padding: 30px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); transition: transform .35s, border-color .35s; }
.kd .kd-glass:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .2); }
.kd-glass .kd-h3 { color: #fff; font-size: 22px; }
.kd-glass > p { font-size: 15px; color: rgba(255, 255, 255, .78); }
.kd-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 8px 0 8px; }
.kd-big b { font-size: 50px; font-weight: 600; letter-spacing: -1px; line-height: 1; color: #FDC729; }
.kd-big span { color: rgba(255, 255, 255, .66); font-size: 14.5px; }
.kd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.kd-tags span { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .11); color: rgba(255, 255, 255, .88); }
.kd-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 18px; }
.kd-tier { border-radius: 16px; padding: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s, border-color .3s, background .3s; }
.kd-tier:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); }
.kd-tier small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.kd-tier b { display: block; margin-top: 6px; font-size: 30px; font-weight: 600; letter-spacing: -.5px; color: #fff; }
.kd-tier b em { font-style: normal; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.kd-tier p { margin-top: 6px !important; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.kd-monitor { border-radius: 16px; padding: 16px 18px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .09); }
.kd-monitor__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.kd-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #4ADE80; }
.kd-bars { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin: 14px 0 10px; }
.kd-bars i { flex: 1; height: 6%; border-radius: 3px; background: linear-gradient(to top, rgba(74, 222, 128, .3), #4ADE80); transition: height .7s cubic-bezier(.2, .7, .2, 1); }
.kd-monitor__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.kd-monitor__foot b { color: #fff; font-weight: 600; }
.kd-small { margin-top: 14px !important; font-size: 13px !important; color: rgba(255, 255, 255, .58) !important; }

/* ---------- Proof ---------- */
.kd-proof { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.kd-card--demo { grid-row: span 2; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.kd-proof__img { position: relative; flex: 1; min-height: 330px; background-color: var(--kd-soft); background-size: 100% auto; background-repeat: no-repeat; background-position: top center; transition: background-position 6s ease-in-out; border-bottom: 1px solid var(--kd-line); }
.kd-card--demo:hover .kd-proof__img { background-position: bottom center; }
.kd-proof__img .kd-tag { position: absolute; left: 16px; top: 16px; background: #121217; }
.kd-proof__body { padding: 24px; }
.kd .kd-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--kd-primary); }
.kd .kd-link:hover { gap: 11px; }
.kd-card--soon { border-style: dashed; }
.kd-icon--soft { background: var(--kd-soft); color: var(--kd-primary); box-shadow: none; border: 1px solid var(--kd-line); }
.kd-typing { display: inline-flex; gap: 3px; margin-left: 2px; }
.kd-typing i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: kd-typing 1.2s infinite ease-in-out; }
.kd-typing i:nth-child(2) { animation-delay: .15s; } .kd-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kd-typing { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Founder ---------- */
@property --kd-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.kd-founder { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.kd-photo { width: 330px; height: 330px; padding: 5px; border-radius: 30px; background: conic-gradient(from var(--kd-angle), #667EEA, #764BA2, #1088BA, #FDC729, #667EEA); animation: kd-turn 9s linear infinite; box-shadow: 0 30px 60px -30px var(--kd-glow-2); }
@keyframes kd-turn { to { --kd-angle: 360deg; } }
.kd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.kd-quote { margin: 20px 0 16px !important; font-size: 21px; line-height: 1.6; font-weight: 500; letter-spacing: -.3px; color: var(--kd-heading); }
.kd-sign { font-size: 15px; color: var(--kd-muted); }
.kd-sign b { color: var(--kd-heading); }
.kd-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.kd-facts span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--kd-card); border: 1px solid var(--kd-line); font-size: 14px; font-weight: 500; color: var(--kd-heading); transition: transform .25s, border-color .25s; }
.kd-facts span:hover { transform: translateY(-2px); border-color: var(--kd-primary); }
.kd-facts i { color: var(--kd-primary); }

/* ---------- Palette switcher (demo only) ---------- */
.kd-switch { position: fixed; right: 18px; bottom: 18px; z-index: 9999; width: 272px; padding: 13px; border-radius: 18px; background: rgba(18, 18, 23, .94); color: #fff; font-family: Poppins, sans-serif; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); }
.kd-switch__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.kd-switch__title { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.kd-switch .kd-switch__min { width: 26px; height: 26px; padding: 0; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; font: 600 14px/1 Poppins, sans-serif; cursor: pointer; }
.kd-switch .kd-switch__min:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.kd-switch__btns { display: flex; gap: 6px; }
.kd-switch .kd-sw { flex: 1; padding: 8px 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; font: 600 12.5px/1.2 Poppins, sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.kd-switch .kd-sw:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.kd-switch .kd-sw[aria-pressed="true"] { background: #fff; color: #121217; border-color: #fff; }
.kd-switch__bar { display: flex; gap: 4px; height: 26px; margin-top: 12px; border-radius: 8px; overflow: hidden; }
.kd-switch__bar span { border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background .4s; }
.kd-switch__legend { display: flex; justify-content: space-between; margin-top: 5px; font-size: 10.5px; color: rgba(255, 255, 255, .6); }
.kd-switch__desc { margin-top: 10px; font-size: 12px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.kd-switch.is-min .kd-switch__bar, .kd-switch.is-min .kd-switch__legend, .kd-switch.is-min .kd-switch__desc { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kd-why { grid-template-columns: repeat(2, 1fr); }
  .kd-test { left: -12px; }
}
@media (max-width: 980px) {
  .kd-hero { padding: 64px 0 90px; }
  .kd-hero-grid, .kd-split, .kd-founder { grid-template-columns: 1fr; }
  .kd-hero-grid { gap: 48px; }
  .kd-pkgs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .kd-pkg__desc { min-height: 0; }
  .kd-proof { grid-template-columns: 1fr 1fr; }
  .kd-card--demo { grid-column: 1 / -1; grid-row: auto; }
  .kd-proof__img { min-height: 360px; }
  .kd-steps { grid-template-columns: 1fr; gap: 26px; }
  .kd-steps::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .kd-steps__fill { left: 27px; top: 10px; width: 3px; height: 0; transition: height 2.6s cubic-bezier(.2, .7, .2, 1); }
  .kd-steps.kd-in .kd-steps__fill { width: 3px; height: calc(100% - 20px); }
  .kd-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; text-align: left; align-items: start; }
  .kd-step__dot { margin: 0; }
  .kd-founder { gap: 36px; }
  .kd-photo { width: 260px; height: 260px; }
}
@media (max-width: 640px) {
  .kd-wrap { padding: 0 16px; }
  .kd-section, .kd-dark { padding: 72px 0; }
  .kd-why, .kd-proof, .kd-tiers { grid-template-columns: 1fr; }
  .kd-lede { font-size: 16.5px; }
  .kd-browser { transform: none; }
  .kd-test { position: relative; left: 0; bottom: 0; width: auto; margin: -36px 12px 0; }
  .kd-visual { padding-bottom: 0; }
  .kd-founding { flex-direction: column; align-items: flex-start; }
  .kd-switch { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 10px; }
  .kd-switch.is-min .kd-switch__top { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .kd *, .kd *::before, .kd *::after { animation: none !important; transition: none !important; }
  .kd-js [data-kd-reveal] { opacity: 1; }
}


/* ---------- v3: palette toggle in the header, applied site-wide ---------- */
/* Header and footer follow the palette through their own tokens (defined on #site-header / #site-footer). */
:root[data-palette="b"] #site-header { --kw-grad: linear-gradient(135deg, #1088BA 0%, #4F7BE8 55%, #764BA2 100%); --kw-brand: #1088BA; }
:root[data-palette="c"] #site-header { --kw-grad: linear-gradient(135deg, #22A8DD 0%, #667EEA 50%, #9B6BDB 100%); --kw-brand: #667EEA; }
:root[data-palette="b"] #site-footer {
  --kw-grad: linear-gradient(135deg, #1088BA 0%, #4F7BE8 55%, #764BA2 100%);
  --kw-grad-deep: linear-gradient(rgba(13, 22, 34, .2), rgba(13, 22, 34, .2)), linear-gradient(135deg, #1088BA 0%, #4F7BE8 55%, #764BA2 100%);
  --kw-bg: #0D1622; --kw-accent: #8FD3F0;
}
:root[data-palette="c"] #site-footer {
  --kw-grad: linear-gradient(135deg, #22A8DD 0%, #667EEA 50%, #9B6BDB 100%);
  --kw-grad-deep: linear-gradient(rgba(11, 11, 17, .2), rgba(11, 11, 17, .2)), linear-gradient(135deg, #22A8DD 0%, #667EEA 50%, #9B6BDB 100%);
  --kw-bg: #0B0B11; --kw-accent: #A5B4FF;
}

/* The button mirrors .kw-lang__btn; the list mirrors .kw-lang__list. */
#site-header .kd-pal { position: relative; }
#site-header .kd-pal__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px 0 10px; border: 1px solid rgba(46, 12, 46, .14); border-radius: 8px; background: transparent; color: var(--kw-plum); cursor: pointer; transition: border-color .3s var(--kw-ease), background-color .2s var(--kw-ease), color .3s var(--kw-ease); }
#site-header .kd-pal__btn:hover { border-color: rgba(46, 12, 46, .3); background-color: var(--kw-soft); }
#site-header .kd-pal__dots { display: inline-flex; align-items: center; }
#site-header .kd-pal__dots i { width: 14px; height: 14px; margin-left: -4px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(18, 18, 23, .12); transition: background .4s, border-color .3s; }
#site-header .kd-pal__dots i:first-child { margin-left: 0; background: var(--kd-primary); }
#site-header .kd-pal__dots i:nth-child(2) { background: var(--kd-primary-2); }
#site-header .kd-pal__dots i:nth-child(3) { background: var(--kd-accent); }
#site-header .kd-pal__chev svg { display: block; width: 14px; height: 14px; transition: transform .2s var(--kw-ease); }
#site-header .kd-pal.is-open .kd-pal__chev svg { transform: rotate(180deg); }
#site-header .kd-pal__list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 3; width: 210px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: var(--kw-radius); box-shadow: var(--kw-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--kw-ease), transform .18s var(--kw-ease), visibility 0s linear .18s; }
#site-header .kd-pal.is-open .kd-pal__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#site-header .kd-pal__opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--kw-ink); font: 500 15px/1.2 Poppins, sans-serif; text-align: left; cursor: pointer; }
#site-header .kd-pal__opt:hover, #site-header .kd-pal__opt:focus-visible { background-color: var(--kw-soft); color: var(--kw-ink); }
#site-header .kd-pal__opt[aria-current="true"] { color: var(--kw-plum); font-weight: 600; }
#site-header .kd-pal__sw { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(18, 18, 23, .1); }
#site-header .kd-pal__hint { margin-left: auto; color: var(--kw-muted); font-size: 11.5px; font-weight: 600; }
#site-header.is-scrolled:not(.is-menu-open) .kd-pal__btn { border-color: rgba(255, 255, 255, .2); color: #fff; }
#site-header.is-scrolled:not(.is-menu-open) .kd-pal__btn:hover { border-color: rgba(255, 255, 255, .35); background-color: rgba(255, 255, 255, .08); }
#site-header.is-scrolled:not(.is-menu-open) .kd-pal__dots i { border-color: #24242c; }
@media (max-width: 1024px) {
  #site-header .kd-pal__btn { padding: 0 7px 0 9px; }
}
@media (max-width: 480px) {
  #site-header .kd-pal__chev { display: none; }
  #site-header .kd-pal__btn { padding: 0 8px; }
}


/* ---------- v4: inner pages (repair page and the pages that follow) ---------- */
.kd-center { text-align: center; margin-top: 34px !important; }
.kd-gap { margin-top: 12px !important; }
.kd-dark .kd-link { color: #FDC729; }
.kd .kd-lede { margin: 22px 0 32px; }
.kd-tier--soon { position: relative; }
.kd-tier--soon small, .kd-tier--soon b, .kd-tier--soon p { opacity: .66; }
.kd-soon { position: absolute; top: -10px; right: 12px; padding: 3px 9px; border-radius: 999px; background: #FDC729; color: #121217; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(253, 199, 41, .9); }
.kd-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }

/* A stand-alone version of the hero test card (no browser frame behind it) */
.kd-visual--solo { padding-bottom: 0; display: flex; justify-content: center; }
.kd-test--solo { position: relative; left: auto; bottom: auto; width: 100%; max-width: 440px; padding: 22px 22px 16px; border-radius: 20px; }
.kd-test--solo .kd-test__title { font-size: 15.5px; }
.kd-test--solo li { font-size: 14.5px; padding: 7px 0; }

/* Process with four steps */
.kd-steps--4 { grid-template-columns: repeat(4, 1fr); }
.kd-steps--4::before { left: 12.5%; right: 12.5%; }
.kd-steps--4 .kd-steps__fill { left: 12.5%; }
.kd-steps--4.kd-in .kd-steps__fill { width: 75%; }

/* FAQ */
.kd-faq { max-width: 860px; margin: 0 auto; }
.kd-faq details { background: var(--kd-card); border: 1px solid var(--kd-line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; transition: border-color .3s, box-shadow .3s, background .5s; }
.kd-faq details[open] { border-color: color-mix(in srgb, var(--kd-primary) 45%, var(--kd-line)); box-shadow: 0 18px 40px -30px var(--kd-glow-2); }
.kd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; line-height: 1.4; color: var(--kd-heading); }
.kd-faq summary::-webkit-details-marker { display: none; }
.kd-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--kd-soft); color: var(--kd-primary); font-size: 18px; font-weight: 500; transition: transform .3s, background .3s, color .3s; }
.kd-faq details[open] summary::after { transform: rotate(45deg); background: var(--kd-grad); color: #fff; }
.kd-faq details p { margin-top: 12px !important; font-size: 15.5px; line-height: 1.7; }

/* Contact links as pills */
.kd .kd-facts a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--kd-card); border: 1px solid var(--kd-line); font-size: 14px; font-weight: 500; color: var(--kd-heading); transition: transform .25s, border-color .25s; }
.kd .kd-facts a:hover { transform: translateY(-2px); border-color: var(--kd-primary); }

/* Form */
.kd-form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.kd-form-lead { margin: 18px 0 24px !important; font-size: 17px; line-height: 1.7; }
.kd-form { display: grid; gap: 16px; padding: 30px; }
.kd .kd-form:hover { transform: none; }
.kd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kd .kd-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--kd-heading); }
.kd .kd-form input, .kd .kd-form select, .kd .kd-form textarea { width: 100%; font: 400 15px/1.4 Poppins, sans-serif; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--kd-line); background: var(--kd-bg); color: var(--kd-heading); transition: border-color .2s, box-shadow .2s, background .5s; }
.kd .kd-form textarea { resize: vertical; min-height: 110px; }
.kd .kd-form input:focus, .kd .kd-form select:focus, .kd .kd-form textarea:focus { outline: none; border-color: var(--kd-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--kd-primary) 18%, transparent); }
.kd .kd-form .kd-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13.5px; line-height: 1.55; color: var(--kd-text); }
.kd .kd-form .kd-check input { width: 18px; height: 18px; flex: none; margin-top: 2px; padding: 0; accent-color: var(--kd-primary); }
.kd .kd-form .kd-check a { color: var(--kd-primary); text-decoration: underline; }
.kd .kd-form .kd-btn { justify-content: center; }

@media (max-width: 980px) {
  .kd-grid3 { grid-template-columns: repeat(2, 1fr); }
  .kd-two, .kd-form-grid { grid-template-columns: 1fr; }
  .kd-form-grid { gap: 32px; }
  .kd-steps--4 { grid-template-columns: 1fr; }
  .kd-steps--4::before { left: 27px; right: auto; }
  .kd-steps--4 .kd-steps__fill { left: 27px; }
  .kd-steps--4.kd-in .kd-steps__fill { width: 3px; }
}
@media (max-width: 640px) {
  .kd-grid3, .kd-form__row { grid-template-columns: 1fr; }
  .kd-form { padding: 22px 18px; }
}


/* ---------- v5: packages and services pages ---------- */

/* Phone frame in the hero (packages page) */
.kd-visual--phone { display: flex; flex-direction: column; align-items: center; }
.kd-swipe { display: none; margin-top: 12px !important; text-align: center; font-size: 13px; color: var(--kd-muted); }
.kd-phone { position: relative; width: 250px; padding: 9px; border-radius: 38px; background: #0b0b10; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75); animation: kd-bob 7s ease-in-out infinite; }
.kd-phone::before { content: ""; position: absolute; top: 17px; left: 50%; width: 64px; height: 16px; translate: -50% 0; border-radius: 10px; background: #0b0b10; z-index: 1; }
.kd-phone img { display: block; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; border-radius: 30px; }
.kd-phone__tag { position: absolute; top: 44px; right: -16px; z-index: 2; font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: #121217; color: #FDC729; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .8); }

/* Comparison table */
.kd-tablewrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--kd-line); background: var(--kd-card); transition: background .5s; }
.kd-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.kd-table th, .kd-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--kd-line); color: var(--kd-text); transition: background .25s; }
.kd-table thead th { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--kd-muted); background: var(--kd-soft); }
.kd-table thead th:last-child { color: var(--kd-primary); }
.kd-table tbody th { width: 22%; font-weight: 600; color: var(--kd-heading); }
.kd-table tbody tr:last-child th, .kd-table tbody tr:last-child td { border-bottom: 0; }
.kd-table tbody tr:hover th, .kd-table tbody tr:hover td { background: color-mix(in srgb, var(--kd-primary) 6%, transparent); }
.kd-table b { color: var(--kd-heading); font-weight: 600; }

/* Price list (light cards and dark glass) */
.kd-plist { list-style: none; margin: 14px 0 18px; padding: 0; }
.kd-plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--kd-line); font-size: 15px; line-height: 1.45; color: var(--kd-text); }
.kd-plist li:last-child { border-bottom: 0; }
.kd-plist b { flex: none; font-weight: 600; color: var(--kd-heading); white-space: nowrap; }
.kd-dark .kd-plist li { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); }
.kd-dark .kd-plist b { color: #FDC729; }

/* "Prices at a glance" card in the services hero */
.kd-pricecard { width: 100%; max-width: 440px; padding: 22px 24px 14px; border-radius: 20px; background: rgba(18, 18, 23, .88); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); color: #fff; animation: kd-bob 8s ease-in-out infinite reverse; }
.kd-pricecard__title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 15.5px; font-weight: 600; }
.kd-pricecard ul { list-style: none; margin: 0; padding: 0; }
.kd-pricecard li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 14.5px; color: rgba(255, 255, 255, .82); transition: opacity .5s, translate .5s, color .25s; }
.kd-pricecard li:last-child { border-bottom: 0; }
.kd-pricecard li:hover { color: #fff; }
.kd-pricecard li b { color: #FDC729; font-weight: 600; white-space: nowrap; }
.kd-js .kd-pricecard li { opacity: 0; translate: 14px 0; }
.kd-js .kd-pricecard.kd-in li { opacity: 1; translate: 0 0; }
.kd-pricecard.kd-in li:nth-child(2) { transition-delay: .1s; }
.kd-pricecard.kd-in li:nth-child(3) { transition-delay: .2s; }
.kd-pricecard.kd-in li:nth-child(4) { transition-delay: .3s; }
.kd-pricecard.kd-in li:nth-child(5) { transition-delay: .4s; }
.kd-pricecard.kd-in li:nth-child(6) { transition-delay: .5s; }

/* Service cards and wide cards */
.kd-svc { display: flex; flex-direction: column; align-items: flex-start; }
.kd-svc p { flex: 1; }
.kd-svc__price { display: block; margin: 16px 0 2px; font-weight: 600; font-size: 15.5px; color: var(--kd-heading); }
.kd-wide { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.kd-wide .kd-icon { margin-bottom: 0; }
.kd-list--2 { columns: 2; column-gap: 28px; }
.kd-list--2 li { break-inside: avoid; }
.kd-card .kd-list:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .kd-visual--phone { padding-bottom: 20px; }
}
@media (max-width: 820px) {
  .kd-swipe { display: block; }
}
@media (max-width: 640px) {
  .kd-visual--phone .kd-test { align-self: stretch; }
  .kd-list--2 { columns: 1; }
  .kd-wide { grid-template-columns: 1fr; }
  .kd-phone { width: 220px; }
  .kd-phone__tag { right: -8px; }
}


/* ---------- v6: maintenance and custom-functionality pages ---------- */
.kd-pkg--soon { border-style: dashed; }
.kd-pkg--soon .kd-badge { align-self: flex-start; }
.kd-pkg__soon { margin: 0 !important; padding: 14px 16px; border-radius: 12px; background: rgba(253, 199, 41, .12); border: 1px dashed rgba(253, 199, 41, .6); font-size: 14px !important; line-height: 1.55; color: var(--kd-heading); }
/* Lists inside dark glass cards */
.kd-dark .kd-list { border-color: rgba(255, 255, 255, .1); }
.kd-dark .kd-list li { color: rgba(255, 255, 255, .82); }
.kd-glass .kd-list { margin-bottom: 18px; }


/* ---------- v7: about, how-we-work and projects pages ---------- */
/* Founder portrait in the hero */
.kd-portrait { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.kd-portrait .kd-photo { width: 320px; height: 320px; animation: kd-turn 9s linear infinite, kd-bob 8s ease-in-out infinite; }
.kd-portrait__tag { padding: 10px 16px; border-radius: 14px; background: rgba(18, 18, 23, .8); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); font-size: 14px; color: rgba(255, 255, 255, .75); }
.kd-portrait__tag b { color: #fff; margin-right: 6px; }
/* Centered fact pills */
.kd-facts--center { justify-content: center; max-width: 900px; margin: 0 auto; }
/* Tool chips that wrap (no marquee) */
.kd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.kd-chips .kd-chip { font-size: 14px; padding: 9px 14px; transition: transform .25s, border-color .25s, background .5s; }
.kd-chips .kd-chip:hover { transform: translateY(-2px); border-color: var(--kd-primary); }
/* Two-column feature: media + text */
.kd-feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.kd-feature__media { display: flex; justify-content: center; }
.kd-feature__lead { margin: 18px 0 18px !important; font-size: 17px; line-height: 1.7; }
.kd-feature .kd-list { flex: none; margin-bottom: 26px; }
.kd-feature .kd-list li .fa-hourglass-half { background: rgba(253, 199, 41, .25); color: #8A6A00; }
@media (max-width: 980px) {
  .kd-feature { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .kd-portrait .kd-photo { width: 250px; height: 250px; }
}


/* ---------- v8: contact, FAQ, legal pages and site map ---------- */
/* Anchor jumps land below the floating header */
.kd [id] { scroll-margin-top: 110px; }

/* Short hero for text pages */
.kd-hero--short { padding: 64px 0 84px; }
.kd-hero__text { max-width: 780px; }
.kd-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.kd-meta i { margin-right: 8px; color: var(--kd-accent); }

/* Contact card and FAQ jump list (variants of the hero price card) */
.kd-pricecard li span { display: inline-flex; align-items: center; gap: 10px; }
.kd-pricecard li span i { width: 16px; text-align: center; color: rgba(255, 255, 255, .5); }
.kd-pricecard--contact li b { white-space: normal; text-align: right; }
.kd .kd-pricecard li b a { color: inherit; }
.kd .kd-pricecard li b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kd-pricecard--nav li { padding: 0; }
.kd .kd-pricecard--nav li a { display: flex; justify-content: space-between; gap: 14px; width: 100%; padding: 11px 0; color: rgba(255, 255, 255, .82); transition: color .2s, padding .2s; }
.kd .kd-pricecard--nav li a:hover { color: #fff; padding-left: 4px; }
.kd-pricecard--nav li a b { color: #FDC729; font-weight: 600; }

/* Cards that are links (contact page) */
.kd .kd-route { display: flex; flex-direction: column; align-items: flex-start; }
.kd-route p { flex: 1; }
.kd-route .kd-link { margin-top: 14px; }
/* Links inside tag pills on dark sections */
.kd .kd-tags span a { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.kd .kd-tags span:hover { border-color: rgba(255, 255, 255, .3); }

/* Process with three steps */
.kd-steps--3 { grid-template-columns: repeat(3, 1fr); }
.kd-steps--3::before { left: 16.7%; right: 16.7%; }
.kd-steps--3 .kd-steps__fill { left: 16.7%; }
.kd-steps--3.kd-in .kd-steps__fill { width: 66.6%; }

/* Values the owner still has to fill in */
.kd-fill { display: inline-block; padding: 0 8px; border-radius: 6px; background: rgba(253, 199, 41, .2); border: 1px dashed rgba(253, 199, 41, .85); color: #7A5C00; font-weight: 600; font-size: .92em; }
.kd-dark .kd-fill, :root[data-palette="c"] .kd-fill { color: #FDC729; }

/* Legal pages: table of contents + readable text */
.kd-legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.kd-toc { position: sticky; top: 110px; padding: 18px 16px; border-radius: 18px; background: var(--kd-soft); border: 1px solid var(--kd-line); transition: background .5s; }
.kd-toc__title { display: block; margin: 0 0 8px 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--kd-muted); }
.kd-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.kd-toc li { counter-increment: toc; }
.kd .kd-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px; line-height: 1.4; color: var(--kd-text); transition: background .2s, color .2s; }
.kd .kd-toc a::before { content: counter(toc); flex: none; width: 18px; color: var(--kd-primary); font-weight: 600; }
.kd .kd-toc a:hover { background: var(--kd-card); color: var(--kd-heading); }
.kd-prose { max-width: 780px; font-size: 16px; line-height: 1.75; color: var(--kd-text); }
.kd .kd-prose h2 { margin: 44px 0 14px; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.4px; color: var(--kd-heading); }
.kd .kd-prose h2:first-child { margin-top: 0; }
.kd .kd-prose p { margin: 0 0 14px; }
.kd-prose ul { margin: 0 0 16px; padding-left: 22px; }
.kd-prose li { margin-bottom: 8px; }
.kd-prose li::marker { color: var(--kd-primary); }
.kd .kd-prose a { color: var(--kd-primary); text-decoration: underline; text-underline-offset: 3px; }
.kd-prose strong { font-weight: 600; color: var(--kd-heading); }
.kd-summary { margin: 0 0 8px; padding: 20px 24px 8px; border-radius: 18px; background: var(--kd-soft); border: 1px solid var(--kd-line); }
.kd-tablewrap--prose { margin: 6px 0 20px; }
.kd-table--prose { min-width: 640px; font-size: 14.5px; }
.kd-table--prose td:first-child { color: var(--kd-heading); font-weight: 500; }

/* Site map lists */
.kd-linklist { list-style: none; margin: 10px 0 0; padding: 0; }
.kd-linklist li { border-bottom: 1px dashed var(--kd-line); }
.kd-linklist li:last-child { border-bottom: 0; }
.kd .kd-linklist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 15.5px; font-weight: 500; color: var(--kd-heading); transition: color .2s; }
.kd .kd-linklist a:hover { color: var(--kd-primary); }
.kd-linklist a i { font-size: 12px; color: var(--kd-muted); transition: transform .2s, color .2s; }
.kd-linklist a:hover i { transform: translateX(3px); color: var(--kd-primary); }

@media (max-width: 980px) {
  .kd-legal { grid-template-columns: 1fr; gap: 28px; }
  .kd-toc { position: static; }
  .kd-steps--3 { grid-template-columns: 1fr; }
  .kd-steps--3::before { left: 27px; right: auto; }
  .kd-steps--3 .kd-steps__fill { left: 27px; }
  .kd-steps--3.kd-in .kd-steps__fill { width: 3px; }
}
@media (max-width: 640px) {
  .kd-hero--short { padding: 48px 0 64px; }
  .kd .kd-prose h2 { font-size: 21px; }
  /* Legal tables stack into labelled cards */
  .kd-table--prose { min-width: 0; }
  .kd-table--prose thead { display: none; }
  .kd-table--prose tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--kd-line); }
  .kd-table--prose tbody tr:last-child { border-bottom: 0; }
  .kd .kd-table--prose td { display: block; padding: 3px 0; border: 0; }
  .kd-table--prose td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--kd-muted); }
}


/* ---------- v9: WordPress: ShieldForm Pro inside the page cards (.kd-sf), styled like the demo forms ---------- */
.kd .kd-sf { display: block; }
.kd .kd-sf .shieldform-container { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.kd .kd-sf .shieldform-response:empty { display: none; }
.kd .kd-sf .shieldform-response { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.5; text-align: left; }
.kd .kd-sf .shieldform-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kd .kd-sf .shieldform-field { grid-column: 1 / -1; margin: 0; }
.kd .kd-sf .shieldform-field-half { grid-column: auto; }
.kd .kd-sf .shieldform-field > label { display: block; padding: 0; margin: 0 0 7px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--kd-heading); }
.kd .kd-sf .shieldform-field > label::before { content: none; }
.kd .kd-sf .shieldform-field input:not([type="checkbox"]):not([type="radio"]),
.kd .kd-sf .shieldform-field select,
.kd .kd-sf .shieldform-field textarea { display: block; width: 100%; border: 1px solid var(--kd-line) !important; border-radius: 12px !important; }
.kd .kd-sf .shieldform-field input:not([type="checkbox"]):not([type="radio"]):focus,
.kd .kd-sf .shieldform-field select:focus,
.kd .kd-sf .shieldform-field textarea:focus { border-color: var(--kd-primary) !important; }
.kd .kd-sf .shieldform-field input.error,
.kd .kd-sf .shieldform-field select.error,
.kd .kd-sf .shieldform-field textarea.error { border-color: #d32f2f !important; }
.kd .kd-sf .shieldform-error { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #d32f2f; }
.kd .kd-sf .shieldform-error:empty { display: none; }
.kd .kd-sf .shieldform-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.kd .kd-sf .shieldform-checkbox input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--kd-primary); }
.kd .kd-sf .shieldform-checkbox label { display: block; font-size: 13.5px; font-weight: 400; line-height: 1.55; color: var(--kd-text); }
.kd .kd-sf .shieldform-checkbox a { color: var(--kd-primary); text-decoration: underline; }
.kd .kd-sf .shieldform-submit { margin-top: 20px; }
.kd .kd-sf .shieldform-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-width: 0; padding: 15px 26px !important; border: 0; border-radius: 12px; font: 600 16px/1.2 Poppins, sans-serif !important; color: #fff; background: var(--kd-grad); box-shadow: 0 12px 30px -10px var(--kd-glow-2); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.kd .kd-sf .shieldform-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 42px -12px var(--kd-glow-1); }
.kd .kd-sf .shieldform-button:disabled { opacity: .7; transform: none; cursor: progress; }
@media (max-width: 640px) {
  .kd .kd-sf .shieldform-fields { grid-template-columns: 1fr; }
}

/* WordPress: the Hello Elementor theme's reset.css styles every table (a border on each cell, zebra rows,
   a bottom margin). These rules outrank it, so the tables look as in the demo. */
.kd .kd-tablewrap .kd-table { margin: 0; }
.kd .kd-tablewrap .kd-table th,
.kd .kd-tablewrap .kd-table td { border: 0; border-bottom: 1px solid var(--kd-line); background-color: transparent; line-height: inherit; }
.kd .kd-tablewrap .kd-table thead th { background: var(--kd-soft); }
.kd .kd-tablewrap .kd-table tbody tr:last-child th,
.kd .kd-tablewrap .kd-table tbody tr:last-child td { border-bottom: 0; }
.kd .kd-tablewrap .kd-table tbody tr:hover th,
.kd .kd-tablewrap .kd-table tbody tr:hover td { background: color-mix(in srgb, var(--kd-primary) 6%, transparent); }
@media (max-width: 640px) {
  .kd .kd-tablewrap .kd-table--prose td { border: 0; }
}

/* WordPress blog: the "EN" label on an English article in the Romanian blog list */
.kd-post-lang { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.5 Poppins, sans-serif; letter-spacing: .06em; color: #4B55C4; background: #EEF0FF; }

/* Language menu: with Polylang (the English site) its options are links, not buttons; same weight as the design's buttons */
#site-header a.kw-lang__opt { font-weight: 600; }

/* ---------- v10: WordPress: the reviews plugin (KingWeb Testimonials Manager) in the site's design ----------
   Its cards, pop-ups and form are styled from the theme; the plugin's own files stay untouched. The cards sit in
   .kd-reviews (shortcode [kd_reviews]) and look like the page's own cards; in a dark section, like its glass
   cards. The pop-ups (.kd-reviews-modals) move to the end of the page (js/kd-reviews.js). The form sits in a
   .kd-form card (.kd-reviews-form, shortcode [kd_review_form]) and looks like the contact forms. */

/* Cards */
.kd .kd-reviews { margin: 0 0 64px; }
.kd .kd-reviews .ets-testimonials-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item { position: relative; flex: 0 1 calc((100% - 40px) / 3); width: auto; display: flex; flex-direction: column; padding: 28px 26px 22px; border-radius: 20px; background: var(--kd-card); border: 1px solid var(--kd-line); box-shadow: none; color: var(--kd-text); transition: transform .35s, box-shadow .35s, border-color .35s, background .5s; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px var(--kd-glow-2); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .kd-review-quote { position: absolute; top: 26px; right: 24px; font-size: 26px; line-height: 1; background: var(--kd-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; pointer-events: none; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-header { display: flex; align-items: center; gap: 14px; margin: 0; padding-right: 40px; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-image { flex: none; width: 48px; height: 48px; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-header img { display: block; width: 48px; height: 48px; margin: 0; border-radius: 50%; object-fit: cover; box-shadow: none; transition: none; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-header h3 { margin: 0; font: 600 17px/1.3 Poppins, sans-serif; letter-spacing: 0; text-transform: none; color: var(--kd-heading); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-company { margin-top: 3px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--kd-muted); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-body { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 12px; flex: 1 0 auto; margin: 20px 0 0; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-rating { grid-row: 1; grid-column: 1; margin: 0; font-size: 17px; line-height: 1; text-align: left; white-space: nowrap; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-date { grid-row: 1; grid-column: 2; justify-self: end; font-style: normal; text-align: right; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-date small { font-size: 12.5px; color: var(--kd-muted); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-excerpt { grid-column: 1 / -1; align-self: start; margin: 0; font-size: 15px; line-height: 1.65; text-align: left; color: var(--kd-text); -webkit-hyphens: manual; hyphens: manual; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--kd-line); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-read-more { flex: none; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font: 600 14px/1.4 Poppins, sans-serif; letter-spacing: 0; text-align: right; text-decoration: none; color: var(--kd-primary); transition: color .25s; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-read-more i { font-size: 12px; transition: transform .25s; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-read-more:hover { text-decoration: none; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-read-more:hover i { transform: translateX(3px); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-admin-response { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--kd-line); font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--kd-heading); cursor: pointer; transition: border-color .25s; }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-admin-response:hover { border-color: var(--kd-primary); }
.kd .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-admin-response .ets-icon { color: var(--kd-primary); }
.kd .kd-reviews .ets-read-more:focus-visible,
.kd .kd-reviews .ets-admin-response:focus-visible { outline: 2px solid var(--kd-primary); outline-offset: 3px; border-radius: 8px; }

/* Avatars without a photo: the reviewer's initial on the brand gradient (the plugin picks a random colour) */
.kd-reviews .ets-initial-avatar,
.kd-reviews-modals .ets-initial-avatar { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; border-radius: 50%; background: var(--kd-grad) !important; font: 600 19px/1 Poppins, sans-serif; text-transform: uppercase; color: #fff; box-shadow: 0 10px 20px -10px var(--kd-glow-1); }

/* Stars: the accent gold, the empty ones faint */
.kd-reviews .ets-star,
.kd-reviews-modals .ets-star { display: inline-block; margin: 0 2px 0 0; line-height: 1; color: color-mix(in srgb, var(--kd-muted) 35%, transparent); }
.kd-reviews .ets-star.ets-filled,
.kd-reviews-modals .ets-star.ets-filled { color: #FDC729; }

/* More reviews than fit: the plugin's page numbers ([kd_reviews pages="no"], on the homepage: the newest only) */
.kd .kd-reviews .ets-pagination-wrapper { margin: 28px 0 0; text-align: center; }
.kd .kd-reviews .ets-page-numbers { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px !important; }
.kd .kd-reviews .ets-page-numbers a,
.kd .kd-reviews .ets-page-numbers span { display: inline-block; min-width: 42px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--kd-line); font-weight: 600; line-height: 1.2; text-align: center; color: var(--kd-heading); transition: border-color .25s, background .25s; }
.kd .kd-reviews .ets-page-numbers a:hover { border-color: var(--kd-primary); background: none; }
.kd .kd-reviews .ets-page-numbers .ets-current { border-color: transparent; background: var(--kd-grad); color: #fff; }
.kd .kd-reviews--one-page .ets-pagination-wrapper { display: none; }
.kd .kd-reviews #ets-loader-testimonial { padding: 40px 0; text-align: center; }
.kd .kd-reviews .ets-loading { display: inline-block; border-color: var(--kd-line); border-right-color: var(--kd-primary); }

/* In a dark section: glass cards, like the cards around them */
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item { background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .11); color: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .2); box-shadow: none; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .kd-review-quote { background: linear-gradient(135deg, #FDC729, #F59E0B); -webkit-background-clip: text; background-clip: text; opacity: .5; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-header h3 { color: #fff; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-company,
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-date small { color: rgba(255, 255, 255, .58); }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-excerpt { color: rgba(255, 255, 255, .8); }
.kd .kd-dark .kd-reviews .ets-star { color: rgba(255, 255, 255, .22); }
.kd .kd-dark .kd-reviews .ets-star.ets-filled { color: #FDC729; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-testimonial-footer { border-top-color: rgba(255, 255, 255, .1); }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-read-more { color: #FDC729; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-admin-response { border-color: rgba(255, 255, 255, .16); color: #fff; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-admin-response:hover { border-color: #FDC729; }
.kd .kd-dark .kd-reviews .ets-testimonials-list .ets-testimonial-item .ets-admin-response .ets-icon { color: #FDC729; }
.kd .kd-dark .kd-reviews .ets-read-more:focus-visible,
.kd .kd-dark .kd-reviews .ets-admin-response:focus-visible { outline-color: #FDC729; }
.kd .kd-dark .kd-reviews .ets-page-numbers a,
.kd .kd-dark .kd-reviews .ets-page-numbers span { border-color: rgba(255, 255, 255, .16); color: #fff; }
.kd .kd-dark .kd-reviews .ets-page-numbers a:hover { border-color: #FDC729; }
.kd .kd-dark .kd-reviews .ets-page-numbers .ets-current { border-color: transparent; }
.kd .kd-dark .kd-reviews .ets-loading { border-color: rgba(255, 255, 255, .2); border-right-color: #FDC729; }

/* The link to the review form, under the cards or the rules */
.kd .kd-reviews-cta { margin-top: 36px !important; }

@media (max-width: 980px) {
  .kd .kd-reviews .ets-testimonials-list .ets-testimonial-item { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .kd .kd-reviews .ets-testimonials-list .ets-testimonial-item { flex-basis: 100%; padding: 24px 20px 20px; }
}

/* Pop-ups: the whole review, and our reply. Above the sticky header (z-index 999999). */
.kd-reviews-modals .ets-testimonial-modal,
.kd-reviews-modals .ets-admin-modal { display: none; position: fixed; inset: 0; z-index: 1000000; box-sizing: border-box; width: 100%; height: 100%; margin: 0 !important; overflow: auto; padding: 0 16px; background: rgba(10, 10, 22, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 400 15.5px/1.7 Poppins, sans-serif; color: var(--kd-text); }
.kd-reviews-modals *,
.kd-reviews-modals *::before,
.kd-reviews-modals *::after { box-sizing: border-box; }
.kd-reviews-modals .ets-testimonial-modal-content,
.kd-reviews-modals .ets-admin-modal-content { position: relative; top: auto; left: auto; transform: none; width: 100%; max-width: 600px; margin: 12vh auto 6vh; padding: 34px 32px 28px; border: 1px solid var(--kd-line); border-radius: 22px; background: var(--kd-card); color: var(--kd-text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); animation: kd-modal-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes kd-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.kd-reviews-modals .ets-testimonial-modal-close,
.kd-reviews-modals .ets-admin-modal-close { position: absolute; top: 14px; right: 14px; float: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font: 400 26px/1 Poppins, sans-serif; color: var(--kd-muted); cursor: pointer; transition: background .25s, color .25s; }
.kd-reviews-modals .ets-testimonial-modal-close:hover,
.kd-reviews-modals .ets-admin-modal-close:hover,
.kd-reviews-modals .ets-testimonial-modal-close:focus-visible,
.kd-reviews-modals .ets-admin-modal-close:focus-visible { background: var(--kd-soft); color: var(--kd-heading); outline: none; }
.kd-reviews-modals .ets-testimonial-modal-close:focus-visible,
.kd-reviews-modals .ets-admin-modal-close:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--kd-primary) 40%, transparent); }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-author { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding-right: 40px; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-image { flex: none; width: 56px; height: 56px; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-author img { display: block; width: 56px; height: 56px; margin: 0; border-radius: 50%; object-fit: cover; }
.kd-reviews-modals .ets-testimonial-modal .ets-initial-avatar { font-size: 22px; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-author-info { margin: 0; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-author-info h3 { margin: 0; font: 600 18px/1.3 Poppins, sans-serif; letter-spacing: 0; text-transform: none; color: var(--kd-heading); }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-company { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--kd-muted); }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-author-info .ets-testimonial-rating { margin: 7px 0 0; font-size: 16px; line-height: 1; text-align: left; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-full-content { margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: var(--kd-text); -webkit-hyphens: manual; hyphens: manual; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-date { text-align: left; }
.kd-reviews-modals .ets-testimonial-modal .ets-testimonial-date small { font-size: 13px; color: var(--kd-muted); }
.kd-reviews-modals .ets-testimonial-modal .ets-admin-response-content { margin: 20px 0 0; padding: 16px 18px; border: 0; border-radius: 14px; background: var(--kd-soft); box-shadow: inset 3px 0 0 var(--kd-primary); font-size: 15px; line-height: 1.65; color: var(--kd-text) !important; }
.kd-reviews-modals .ets-admin-modal .ets-admin-response-content { margin: 0; padding: 0 40px 0 0; font-size: 16px; line-height: 1.75; color: var(--kd-text) !important; }
.kd-reviews-modals .ets-admin-response-content h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 14px/1.4 Poppins, sans-serif; letter-spacing: 0; text-transform: none; color: var(--kd-heading); }
.kd-reviews-modals .ets-admin-modal .ets-admin-response-content h4 { margin-bottom: 12px; font-size: 18px; }
.kd-reviews-modals .ets-admin-response-content h4 i { color: var(--kd-primary); }
.kd-reviews-modals .ets-admin-response-content h4 small { display: none; } /* "(Admin)": the name already says who replies */
.kd-reviews-modals .ets-testimonial-modal .ets-admin-response-content .ets-admin-response-text,
.kd-reviews-modals .ets-admin-modal .ets-admin-response-content .ets-admin-response-text { font-style: normal; font-weight: 400; line-height: inherit; }
html.kd-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .kd-reviews-modals .ets-testimonial-modal-content,
  .kd-reviews-modals .ets-admin-modal-content { margin: 8vh auto 4vh; padding: 28px 20px 22px; border-radius: 18px; }
}

/* Form: the page "Lăsați o recenzie" / "Leave a review" */
.kd .kd-reviews-form .ets-testimonial-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.kd .kd-reviews-form .ets-testimonial-form > * { grid-column: 1 / -1; }
.kd .kd-reviews-form .ets-testimonial-form .ets-form-field { display: block; width: auto; margin: 0; }
.kd .kd-reviews-form .ets-testimonial-form > .ets-form-field:not(.ets-review-field):not(.ets-consent-field) { grid-column: auto; }
.kd .kd-reviews-form .ets-testimonial-form .ets-required-legend { margin: 0; font-size: 13px; line-height: 1.4; color: var(--kd-muted); }
.kd .kd-reviews-form .ets-testimonial-form .ets-required { margin-left: 2px; font-weight: 600; color: var(--kd-primary); }
.kd .kd-reviews-form .ets-testimonial-form .ets-optional { font-size: 13px; font-weight: 400; color: var(--kd-muted); }
.kd .kd-reviews-form .ets-testimonial-form label:not(.ets-star-shape):not(.ets-consent-label) { display: block; margin: 0 0 7px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--kd-heading); }
.kd .kd-reviews-form .ets-testimonial-form .ets-form-field small { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--kd-muted); }
.kd .kd-reviews-form .ets-testimonial-form .ets-form-field small em { font-style: normal; }
.kd .kd-reviews-form .ets-testimonial-form input:not([type="file"]):not([type="radio"]):not([type="checkbox"]),
.kd .kd-reviews-form .ets-testimonial-form textarea { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--kd-line); border-radius: 12px; background: var(--kd-bg); font: 400 15px/1.4 Poppins, sans-serif; font-style: normal; color: var(--kd-heading); }
.kd .kd-reviews-form .ets-testimonial-form textarea { min-height: 150px; resize: vertical; }
.kd .kd-reviews-form .ets-testimonial-form input.ets-error,
.kd .kd-reviews-form .ets-testimonial-form textarea.ets-error { border: 1px solid #d32f2f !important; border-radius: 12px; background-color: var(--kd-bg); }
.kd .kd-reviews-form .ets-testimonial-form .ets-error-container { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #d32f2f; }
.kd .kd-reviews-form .ets-testimonial-form .ets-error-container:empty { display: none; }
.kd .kd-reviews-form .ets-testimonial-form input[type="file"] { display: block; width: 100%; margin: 0; padding: 9px 10px; border: 1px dashed var(--kd-line); border-radius: 12px; background: var(--kd-bg); font: 400 14px/1.4 Poppins, sans-serif; color: var(--kd-text); cursor: pointer; }
.kd .kd-reviews-form .ets-testimonial-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 14px; border: 0; border-radius: 9px; background: var(--kd-soft); font: 600 13.5px/1.2 Poppins, sans-serif; color: var(--kd-heading); cursor: pointer; }
.kd .kd-reviews-form .ets-testimonial-form input[type="file"]:focus-visible { outline: none; border-color: var(--kd-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--kd-primary) 18%, transparent); }

/* Stars to choose: the radio buttons stay reachable with the keyboard (the plugin hides them completely) */
.kd .kd-reviews-form .ets-testimonial-form .ets-review-rating-field { margin: 0 0 10px; }
.kd .kd-reviews-form .ets-testimonial-form fieldset.ets-star-rating { position: relative; display: inline-flex; gap: 2px; margin: 0; padding: 0; border: 0; direction: rtl; } /* 5 first in the code, shown last */
.kd .kd-reviews-form .ets-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating input { position: absolute; top: 0; left: 0; display: inline-block; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating label.ets-star-shape { display: inline-block; margin: 0; padding: 0 2px; font-size: 32px; line-height: 1; color: color-mix(in srgb, var(--kd-muted) 35%, transparent); cursor: pointer; transition: color .15s, transform .15s; }
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating label.ets-star-shape:hover { transform: scale(1.12); }
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating input:checked ~ label.ets-star-shape,
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating label.ets-star-shape:hover,
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating label.ets-star-shape:hover ~ label.ets-star-shape { color: #FDC729; }
.kd .kd-reviews-form .ets-testimonial-form .ets-star-rating input:focus-visible + label.ets-star-shape { outline: 2px solid var(--kd-primary); outline-offset: 2px; border-radius: 6px; }

/* Consent, the button and the messages: as in the contact forms */
.kd .kd-reviews-form .ets-testimonial-form label.ets-consent-label { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-size: 13.5px; font-weight: 400; line-height: 1.55; color: var(--kd-text); }
.kd .kd-reviews-form .ets-testimonial-form label.ets-consent-label input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--kd-primary); }
.kd .kd-reviews-form .ets-testimonial-form label.ets-consent-label a { font-size: inherit; font-style: normal; font-weight: 400; color: var(--kd-primary); text-decoration: underline; }
.kd .kd-reviews-form .ets-testimonial-form .ets-submit-button { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 4px; padding: 15px 26px !important; border: 0; border-radius: 12px; background: var(--kd-grad); font: 600 16px/1.2 Poppins, sans-serif !important; color: #fff; box-shadow: 0 12px 30px -10px var(--kd-glow-2); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.kd .kd-reviews-form .ets-testimonial-form .ets-submit-button:hover { background: var(--kd-grad); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 42px -12px var(--kd-glow-1); }
.kd .kd-reviews-form .ets-testimonial-form .ets-submit-button:disabled { opacity: .7; transform: none; cursor: progress; }
.kd .kd-reviews-form .ets-testimonial-form .ets-submit-label { display: inline-flex; align-items: center; gap: 10px; }
.kd .kd-reviews-form .ets-testimonial-form .ets-submit-label i { font-size: 14px; transition: transform .25s; }
.kd .kd-reviews-form .ets-testimonial-form .ets-submit-button:hover .ets-submit-label i { transform: translateX(3px); }
.kd .kd-reviews-form #ets-form-messages:empty { display: none; }
.kd .kd-reviews-form #ets-form-messages { margin: 0; scroll-margin: 110px 0 24px; }
.kd .kd-reviews-form #ets-form-messages.ets-success-message,
.kd .kd-reviews-form #ets-form-messages.ets-error-message,
.kd .kd-reviews-form .ets-testimonial-form > .ets-success-message { padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.kd .kd-reviews-form #ets-form-messages.ets-success-message,
.kd .kd-reviews-form .ets-testimonial-form > .ets-success-message { border: 1px solid color-mix(in srgb, #2e7d32 30%, transparent); background: color-mix(in srgb, #2e7d32 10%, var(--kd-card)); color: #2e7d32; }
.kd .kd-reviews-form #ets-form-messages.ets-error-message { border: 1px solid color-mix(in srgb, #d32f2f 28%, transparent); background: color-mix(in srgb, #d32f2f 9%, var(--kd-card)); color: #d32f2f; }
.kd .kd-reviews-form #ets-form-messages p.ets-error-message { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, #d32f2f 28%, transparent); background: color-mix(in srgb, #d32f2f 9%, var(--kd-card)); font-size: 15px; font-weight: 600; color: #d32f2f; }
:root[data-palette="c"] .kd .kd-reviews-form #ets-form-messages.ets-success-message,
:root[data-palette="c"] .kd .kd-reviews-form .ets-testimonial-form > .ets-success-message { color: #81c784; }
:root[data-palette="c"] .kd .kd-reviews-form #ets-form-messages.ets-error-message,
:root[data-palette="c"] .kd .kd-reviews-form #ets-form-messages p.ets-error-message,
:root[data-palette="c"] .kd .kd-reviews-form .ets-testimonial-form .ets-error-container { color: #ef9a9a; }
@media (max-width: 640px) {
  .kd .kd-reviews-form .ets-testimonial-form { grid-template-columns: 1fr; }
  .kd .kd-reviews-form .ets-testimonial-form > .ets-form-field:not(.ets-review-field):not(.ets-consent-field) { grid-column: 1 / -1; }
}

/* WordPress: a blog page with no articles in its language yet (template-parts/archive.php): the Romanian blog at
   launch says the first articles are on their way and links to the English ones. */
.kw-site .kd-blog-empty { max-width: 640px; margin: 8px 0 40px; padding: 28px 30px; border: 1px solid var(--kd-line); border-radius: 20px; background: var(--kd-card); font-family: Poppins, sans-serif; }
.kw-site .kd-blog-empty p { margin: 0 0 8px; font-size: 16px; line-height: 1.65; color: var(--kd-text); }
.kw-site .kd-blog-empty .kd-blog-empty__title { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--kd-heading); }
.kw-site .kd-blog-empty .kd-blog-empty__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 15px/1.4 Poppins, sans-serif; color: var(--kd-primary); text-decoration: none; }
.kw-site .kd-blog-empty .kd-blog-empty__link:hover { text-decoration: underline; }
