@import url("./motion.css");

@font-face {
  font-family: "Kaman UI";
  src: url("./assets/ui-font.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --page: #f3f4f6;
  --ink: #1d2433;
  --blue: #0158cc;
  --light-blue: #e6eefa;
  --typography-family-base: "Kaman UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-family: var(--typography-family-base);
}

html { scroll-behavior: auto; }
body { margin: 0; }
main { overflow: clip; }
button, input, select, a { font: inherit; }
img { user-select: none; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; right: 12px; z-index: 10; border-radius: 8px; padding: 10px 16px; color: white; background: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.design {
  direction: ltr;
  width: var(--design-width);
  margin-inline: auto;
  zoom: var(--design-scale, 1);
  background: var(--page);
}
.design *, #overlay * { font-family: var(--typography-family-base) !important; }
.design-desktop {
  --design-width: 1440px;
  --page: #f3f4f7;
  --desktop-gutter: max(0px, calc((100% - var(--design-width)) / 2));
  width: 100%;
}
.design-mobile { --design-width: 390px; display: none; }
.section { position: relative; width: 100%; height: var(--section-height); margin-top: var(--section-space); }
.section > .content-stretch[data-content-stretch] { width: 100%; height: 100%; }
.section-hero, .section-services, .section-benefits, .section-calculator, .section-categories, .section-steps, .section-app { overflow: clip; }
.design-desktop .section-services > .content-stretch > .section-inner { width: 1036px; height: auto; margin: 0 auto; }
.design-desktop :is(.section-plans, .section-stores, .section-footer) { background-color: #fff; }
.design-desktop :is(.section-plans, .section-stores, .section-footer, .section-faq) > :first-child {
  max-width: var(--design-width);
  margin-inline: auto;
}
.design-desktop .section-footer { border-top: 1px solid #ebebeb; }
.design-desktop .section-footer > :first-child { border-top: 0; }
.design-desktop .section-app > .content-stretch { width: 1280px; margin-inline: auto; }
.design-desktop .section-join [data-name="BG / Watercolour"],
.design-desktop .section-join [data-name="Grain"] { width: 100%; }
.design-desktop .section-join [data-name="BG / Watercolour"] { border-radius: 0; }
.design-desktop .section-join [data-name="Content / RTL"] {
  left: calc(777px + var(--desktop-gutter));
}
.design-desktop .section-calculator {
  background:
    radial-gradient(ellipse at 7% 25%, rgb(206 180 241 / .28), transparent 34%),
    radial-gradient(ellipse at 94% 24%, rgb(205 180 248 / .25), transparent 34%),
    var(--page);
}
.design-desktop .section-steps { background-color: var(--page); }
.design-desktop .section-steps, .design-desktop .section-benefits { isolation: isolate; }
.design-desktop .section-app [data-name^="Phone /"] { transition: translate .32s cubic-bezier(.22, 1, .36, 1); }
.design-desktop .section-app [data-name^="Phone /"]:hover { translate: 0 -12px; }


[data-action] { cursor: pointer; }
[data-action]:not([data-action="slide"]):not([data-action="step"]):not([data-action="period"]):not([data-action="faq"]) { transition: filter .2s ease, box-shadow .18s ease, border-color .15s ease, background-color .18s ease, color .18s ease; }
@media (hover: hover) {
  [data-action="link"]:hover, [data-action="jump"]:hover, [data-action="preview"]:hover,
  [data-action="calculate"]:hover, [data-action="stepper"]:hover, [data-action="plan"]:hover,
  [data-action="filter"]:hover, [data-action="store"]:hover, [data-action="channel"]:hover { filter: brightness(.96); }
  [data-action="faq"]:hover, [data-action="step"]:hover { box-shadow: inset 0 0 0 1px rgb(1 88 204 / .16); }
}
[data-action]:active { filter: brightness(.94); }
.section-plans [data-action="plan"][aria-pressed="true"],
.section-calculator [data-action][aria-pressed="true"],
.section-stores [data-action][aria-pressed="true"] { box-shadow: inset 0 0 0 1px #0158cc; background: #e6eefa; color: #0158cc; }
.section-plans [data-action="plan"][aria-pressed="true"] :is(p, [data-kl-original-tag="p"]),
.section-calculator [data-action][aria-pressed="true"] :is(p, [data-kl-original-tag="p"]),
.section-stores [data-action][aria-pressed="true"] :is(p, [data-kl-original-tag="p"]) { color: #0158cc; }
.section-plans [data-action="plan"][aria-pressed="false"],
.section-calculator [data-action][aria-pressed="false"],
.section-stores [data-action][aria-pressed="false"] { box-shadow: none; border-color: transparent; background: transparent; }
.section-calculator [data-action="period"][aria-pressed="false"] { border: 1px solid #ebebeb; }

.carousel-scroll { overflow-x: auto !important; overscroll-behavior-inline: contain; scrollbar-width: none; }
.carousel-scroll::-webkit-scrollbar { display: none; }
.carousel-scroll.snap { scroll-snap-type: x proximity; }
.carousel-scroll.snap [data-track-item] { scroll-snap-align: start; }
.hero-dot { min-width: 12px; cursor: pointer; position: relative; }
.hero-dot::after { content: ""; position: absolute; inset: -8px -3px; }
.hero-dot[aria-pressed="true"] { width: 40px; min-width: 40px; background: var(--blue); border-radius: 999px; }
.hero-dot[aria-pressed="false"] { width: 8px; min-width: 8px; background: #dadde3; border-radius: 999px; }
.design-mobile .hero-dot[aria-pressed="true"] { width: 18px; min-width: 18px; }
.design-mobile .hero-dot[aria-pressed="false"] { width: 6px; min-width: 6px; }
.design-mobile .section-hero [data-name="Dots"] { justify-content: center; }
.design-desktop .section-hero [data-name="Carousel Indicators"] { z-index: 3; }
.hero-screen-change { animation: enter .28s ease-out both; }
.section-categories [data-name="Category Marquee"] { overflow: clip; }

.design-mobile .section-steps, .section-faq { height: auto; min-height: var(--section-height); }
.section-faq > .content-stretch { min-height: var(--section-height); }
.faq-answer { margin: 0; margin-top: -6px; direction: rtl; text-align: right; background: #fff; border-radius: 10px; color: #4b5563; padding: 12px 20px; line-height: 1.9; font-size: 15px; animation: enter .2s ease-out both; width: 100%; }
.design-mobile .faq-answer { font-size: 12px; }
.faq-open [data-name="ic:round-plus"], .faq-open [data-name="Iconsax/Add/Linear"] { rotate: 45deg; }

.step-detail { animation: enter .3s ease-out both; }
.design-mobile .section-steps [data-step-open] { border: 1.5px solid var(--blue); border-radius: 12px; background: white; }
.design-mobile .section-steps [data-step-open] [data-name="Header"] { color: var(--blue); }
.design-mobile .section-steps [data-step-open] [data-name="chevron"] { rotate: 180deg; }
.design-desktop .step-detail img { max-height: 230px; width: auto; margin: 8px auto 0; }
.design-desktop .step-detail [data-name="Screen"] { display: none; }
.design-desktop .step-detail { font-size: 15px; color: #4b5563; line-height: 1.8; direction: rtl; }

[data-range-host] { position: relative; }
.range-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
[data-range-host]:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.amount-input { border: 0; background: transparent; outline-offset: 2px; width: 136px; max-width: 100%; color: inherit; text-align: right; padding: 0 4px; }
.calculator-kind { appearance: none; border: none; background: transparent; color: inherit; outline-offset: 4px; text-align: right; direction: rtl; width: 100%; min-height: 30px; }
.calc-note { font-size: 12px; line-height: 1.7; padding: 2px 12px; margin: 0; color: #596276; text-align: right; direction: rtl; }
#overlay { inset: 0; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 16px; background: white; color: var(--ink); overflow: auto; width: min(100% - 24px, 440px); direction: ltr; }
#overlay[open] { animation: popup .28s ease-out both; }
#overlay::backdrop { background: rgb(13 23 41 / .6); }
#overlay-content > :first-child { position: relative; left: auto; top: auto; width: 100%; }
#overlay-content video { display: block; width: 100%; min-height: 172px; object-fit: contain; background: #071019; border-radius: 8px; }
#overlay-content p { line-height: 1.65; }
#overlay .panel { direction: rtl; padding: 24px; }
#overlay .panel h2 { font-weight: 700; font-size: 21px; margin-bottom: 10px; }
#overlay .panel p { margin: 12px 0; font-size: 15px; }
#overlay .panel a, #overlay .panel button { display: inline-flex; align-items: center; padding: 10px 15px; border-radius: 9px; color: white; background: var(--blue); margin-top: 8px; }
#overlay .panel ul { display: grid; gap: 8px; padding: 0; margin: 0; }
#overlay .panel .menu-link { display: block; width: 100%; color: var(--ink); background: var(--page); padding: 10px 14px; text-align: right; border-radius: 8px; }
.site-link { direction: rtl; }
.store-empty { padding: 32px 15px; color: #6b7280; text-align: center; direction: rtl; width: 100%; }

@keyframes enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes popup { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }


@media (max-width: 899px) {
  .design-desktop { display: none; }
  .design-mobile { display: block; }
  #overlay.result { margin: auto auto 0; max-height: 90dvh; width: min(100%, 520px); border-radius: 24px 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


.design-mobile :is(.section-services, .section-categories, .section-stores) .carousel-scroll {
  display: flex;
  direction: rtl;
  justify-content: flex-start;
  overflow-y: hidden;
}
.design-mobile :is(.section-services, .section-categories, .section-stores) .carousel-scroll > :first-child {
  direction: ltr;
  flex: none;
  width: max-content;
}
.design-mobile :is(.section-services, .section-categories) .carousel-scroll {
  align-self: center;
  width: calc(100% + 32px);
}
.design-mobile .section-services .carousel-scroll {
  --service-gutter: 20px;
  scroll-padding-inline: var(--service-gutter);
}
.design-mobile .section-services .carousel-scroll > :first-child { padding-inline: var(--service-gutter); }
.design-mobile .section-categories [data-name="Rows"] { padding-inline: 16px 32px; }

.desktop-dots { display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-dot { height: 8px; padding: 0; border: 0; flex-shrink: 0; }
.design-mobile .hero-dot { height: 6px; }
.design-mobile .section-hero [data-name="Dots"] { left: 16px; }
.section-plans [data-action="plan"][aria-pressed="true"] { background: white; }
.section-calculator [data-name="Slider"] > [data-name="Track"] { width: 100%; }
.section-calculator [data-name="Slider"] { rotate: 180deg; scale: 1 -1; }
.amount-label { font-size: 16px; line-height: 1.4; }
.amount-label .amount-input { text-align: left; direction: ltr; font-size: inherit; }
.design-mobile .section-calculator .amount-input { width: 96px; }
.mobile-preview .design-desktop { display: none; }
.mobile-preview .design-mobile { display: block; }
.mobile-preview #overlay.result { margin: auto auto 0; width: min(100%, 480px); border-radius: 24px 24px 0 0; }

.design-desktop .section-calculator [data-node-id="10394:55001"] { display: none; }
.section-calculator [data-action="bank"][aria-pressed="true"] { box-shadow: none; background: white; }
.section-calculator [data-action="plan"][aria-pressed="true"] { background: white; }
.section-stores [data-action="filter"][aria-pressed="false"] { border: 1px solid #ebebeb; background: #fff; }
.section-stores [data-action="channel"][aria-pressed="true"] { background: white; }
.design-mobile .section-steps [data-name^="Step "] { transition: border-color .3s ease-out; }

/* Desktop reference canvas */
.design-desktop .section-plans::after {
  content: "";
  position: absolute;
  left: -164px;
  top: 113px;
  width: 295px;
  height: 295px;
  pointer-events: none;
  background: url("./assets/figma-9183ca525e311223.svg") no-repeat center / contain;
  opacity: .45;
}
.design-desktop .section-benefits { background-color: var(--page); }
.design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] { left: var(--desktop-gutter); }
.design-desktop .section-categories { background-color: #f5f6f8; }
.design-desktop .section-categories [data-name="Section Heading"] { left: 50%; transform: translateX(-50%); }
.design-desktop .section-services [data-name="Services Grid"] { margin-top: 9px; }
.design-desktop .section-steps > .content-stretch > .section-inner { gap: 36px; }

.design-desktop .section-categories [data-name^="Fade /"] {
  pointer-events: none;
}

.design-desktop .section-hero {
  background: linear-gradient(90deg, #ffebec 0%, #fbf7fd 50%, #e6eefa 100%);
}
.design-desktop .section-hero > .content-stretch > .section-inner > :not([data-name="Fade"], [data-name="Carousel Indicators"]) {
  margin-left: 0;
}
.design-desktop .section-hero [data-name="Fade"] {
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgb(230 238 250 / 0) 0%, #e6eefa 91%);
}
.design-desktop .section-hero:not(:hover):not(:focus-within) [data-name^="Float /"] { animation-play-state: paused; }
.design-desktop .hero-dot[aria-pressed="false"] { background: #ded9ce; }
.hero-dot { transition: width .2s ease-out, min-width .2s ease-out, background-color .2s ease-out; }

/* Selected and pointer states keep the original component geometry. */
.section-calculator [data-action="period"][aria-pressed="true"] {
  border-color: #6c9ee1;
  background: #eaf2fd;
  box-shadow: none;
}
.section-calculator [data-action="period"][aria-pressed="true"] :is(p, [data-kl-original-tag="p"]) { color: var(--ink); font-weight: 700 !important; }
.section-calculator [data-action="period"][aria-pressed="false"] { background: #fff; }
.section-calculator [data-action="period"][aria-pressed="false"] p { color: #696969; font-weight: 500 !important; }
.section-calculator [data-action="plan"][aria-pressed="true"] { box-shadow: 0 1px 4px rgb(29 36 51 / .10); }
.section-calculator [data-action="bank"][aria-pressed="true"] { box-shadow: 0 1px 5px rgb(29 36 51 / .12); }
.section-plans [data-action="plan"][aria-pressed="true"] p:nth-of-type(2) { color: #696969; }
.section-stores [data-action="filter"][aria-pressed="true"] { background: #e6eefa; box-shadow: inset 0 0 0 1px #6c9ee1; }

:is([data-action="period"], [data-action="step"], [data-action="faq"], [data-action="category"]),
:is([data-action="step"], [data-action="faq"]) > :first-child {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease, translate .18s ease;
}
[data-action="category"] [data-name="Thumb"] { transition: scale .18s ease-out; }
[data-action="category"][data-category-selected] :is(p, [data-kl-original-tag="p"]) { color: var(--blue); }
[data-action="faq"] :is([data-name="ic:round-plus"], [data-name="Iconsax/Add/Linear"]) { transition: rotate .2s ease-out; }
[data-action="faq"][aria-expanded="true"] { box-shadow: inset 0 0 0 1px #6c9ee1; }


@media (hover: hover) {
  .section-header [data-action="jump"]:hover p { color: var(--blue); }
  .section-header [data-name="Primary CTA"]:hover p { color: #fff; }
  [data-action="plan"][aria-pressed="false"]:hover,
  [data-action="filter"][aria-pressed="false"]:hover,
  [data-action="channel"][aria-pressed="false"]:hover,
  [data-action="period"][aria-pressed="false"]:hover,
  [data-action="bank"][aria-pressed="false"]:hover { background: #edf4ff; }
  .section-steps [data-action="step"][aria-expanded="false"]:hover > :first-child { border-color: #6c9ee1; }
  .section-stores [data-action="store"]:hover { translate: 0 -3px; box-shadow: 0 5px 16px rgb(29 36 51 / .12); }
  [data-action="category"]:hover [data-name="Thumb"] { scale: 1.04; }
  [data-action="category"]:hover :is(p, [data-kl-original-tag="p"]) { color: var(--blue); }
  .section-services [data-name^="Service /"] [data-name^="Queue Screen /"] { transition: translate .3s ease-out; }
}

/* The Figma desktop grid keeps its 1440px design coordinates. */
.design-desktop [data-reveal] { --reveal-duration: .55s; }
.design-desktop .section-services { --reveal-duration: .9s; }
.design-desktop .section-plans { --reveal-duration: .38s; }
.design-desktop [data-reveal] > .content-stretch[data-content-stretch] { transition: opacity var(--reveal-duration) ease-out, translate var(--reveal-duration) cubic-bezier(.22, 1, .36, 1); }
.design-desktop [data-reveal]:not([data-revealed]):not(:focus-within) > .content-stretch[data-content-stretch] { opacity: 0; translate: 0 28px; }
.design-desktop .section-benefits[data-reveal] > .content-stretch[data-content-stretch] { opacity: 1; translate: none; }
.design-desktop .section-benefits[data-reveal]:not([data-revealed]) [data-name="Section / Why Kaman Lend"] { opacity: 0; translate: 0 22px; }
.design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] { transition: opacity .48s ease-out, translate .48s ease-out; }

.section-dot-rail {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 139px;
  pointer-events: none;
  overflow: clip;
}
.section-dot-rail img {
  display: block;
  position: sticky;
  top: 72px;
  width: 295.211px;
  height: 295.211px;
  max-width: none;
  opacity: .5;
}
.design-desktop .section-services .section-dot-rail { top: 76px; left: 0; width: 118px; }
.design-desktop .section-services .section-dot-rail img { margin-left: -177px; }
.design-desktop .section-benefits .section-dot-rail { top: 453px; right: 0; }
.design-desktop .section-benefits [data-node-id="10187:18349"] { display: none; }

.design-desktop .section-services [data-name^="Service /"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 85% 105% at -6% 110%, rgb(1 88 204 / .135), rgb(137 179 238 / .12) 40%, transparent 76%);
  transition: opacity .3s ease-out;
}
.design-desktop .section-services [data-name^="Queue Screen /"] {
  transition: translate .3s ease-out, box-shadow .3s ease-out;
}
@media (hover: hover) {
  .design-desktop .section-services [data-name^="Service /"]:hover::before { opacity: 1; }
  .design-desktop .section-services [data-name^="Service /"]:hover [data-name^="Queue Screen /"] {
    translate: 0 -15px;
    box-shadow: 0 18px 44px rgb(32 85 166 / .18);
  }
}

@property --approval-fill {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
/* Desktop reveals the section together. Mobile reveals each row as it enters view. */
.section-benefits [data-name="BarColumn"] {
  transform-origin: center bottom;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.section-benefits [data-name="Bar 24"] > :first-child { transition-delay: .08s; }
.section-benefits [data-name="Bar 18"] > :first-child { transition-delay: .16s; }
.section-benefits [data-name="Bar 12"] > :first-child { transition-delay: .24s; }
.section-benefits [data-name="Bar 6"] > :first-child { transition-delay: .32s; }
.section-benefits [data-name="MeterFill"] {
  transform-origin: right;
  transition: transform .94s cubic-bezier(.22, 1, .36, 1);
}
.section-benefits [data-name="Ring"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border: var(--approval-stroke, 8px) solid #e6eefa;
  border-radius: 50%;
}
.section-benefits [data-name="Ring"] img {
  --approval-fill: 360deg;
  mask-image: conic-gradient(#000 0deg var(--approval-fill), transparent var(--approval-fill));
  transition: --approval-fill .94s cubic-bezier(.22, 1, .36, 1);
}
:is(.section-benefits, .section-benefits [data-name^="Row "])[data-reveal]:not([data-revealed]) {
  & [data-name="BarColumn"] { transform: scaleY(.055); }
  & [data-name="MeterFill"] { transform: scaleX(.032); }
  & [data-name="Ring"] img { --approval-fill: 0deg; }
}
.design-desktop .section-benefits [data-name="Card/Steps"] [data-name="Dot"] { transition: opacity .18s ease-out; }
.design-desktop .section-benefits[data-reveal]:not([data-revealed]) [data-name="Card/Steps"] [data-name="Dot"] { opacity: .22; }

.design-mobile .section-benefits { --approval-stroke: 5px; }
.design-mobile .section-benefits [data-reveal] { transition: opacity .4s ease-out, translate .4s ease-out; }
.design-mobile .section-benefits [data-reveal]:not([data-revealed]) { opacity: 0; translate: 0 14px; }
.design-mobile .section-benefits [data-name="Steps"] [data-name="Dot"] { background: #eaf2fd; border-radius: 50%; }
.design-mobile .section-benefits [data-name="Steps"] [data-name="Dot"] img { transition: opacity .18s ease-out; }
.design-mobile .section-benefits [data-name="Chips"] [data-name^="Chip "] {
  transition: opacity .25s ease-out, translate .25s ease-out;
}
.design-mobile .section-benefits [data-reveal]:not([data-revealed]) [data-name="Dot"] img,
.design-mobile .section-benefits [data-reveal]:not([data-revealed]) [data-name^="Chip "] { opacity: 0; }
.design-mobile .section-benefits [data-reveal]:not([data-revealed]) [data-name^="Chip "] { translate: 0 6px; }
.section-benefits [data-name="Step 1"] [data-name="Dot"],
.design-mobile .section-benefits [data-name="Step 1"] [data-name="Dot"] img,
.design-mobile .section-benefits [data-name="Chip 1"] { transition-delay: .18s; }
.section-benefits [data-name="Step 2"] [data-name="Dot"],
.design-mobile .section-benefits [data-name="Step 2"] [data-name="Dot"] img,
.design-mobile .section-benefits [data-name="Chip 2"],
.design-mobile .section-benefits [data-name="Chip 4"] { transition-delay: .36s; }
.section-benefits [data-name="Step 3"] [data-name="Dot"],
.design-mobile .section-benefits [data-name="Step 3"] [data-name="Dot"] img,
.design-mobile .section-benefits [data-name="Chip 3"],
.design-mobile .section-benefits [data-name="Chip 5"] { transition-delay: .54s; }
.section-benefits [data-name="Step 4"] [data-name="Dot"],
.design-mobile .section-benefits [data-name="Step 4"] [data-name="Dot"] img,
.design-mobile .section-benefits [data-name="Chip 6"] { transition-delay: .72s; }

.design-desktop .section-categories [data-name="Category Marquee"] { width: 100%; overflow: hidden; }
.desktop-category-track {
  left: 0;
  width: max-content;
  animation: categories-drift var(--category-duration) linear infinite;
  animation-play-state: paused;
}
.section-categories[data-marquee-visible] [data-name="Category Marquee"]:not(:hover):not(:focus-within) .desktop-category-track { animation-play-state: running; }
@keyframes categories-drift {
  from { transform: translateX(calc(-1 * var(--category-distance))); }
  to { transform: translateX(0); }
}

.video-effect-defs { position: absolute; pointer-events: none; }
.video-hover-pulse { display: none; }
.design-desktop .section-plans [data-name="Backdrop / Blue"] {
  filter: url("#video-backdrop-texture");
  transition: scale .25s ease-out, translate .25s ease-out, rotate .25s ease-out, border-radius .25s ease-out;
}
.design-desktop .section-plans [data-name="Cover"] { transition: border-radius .25s ease-out; }
.design-desktop .section-plans [data-name="Media Panel"] { isolation: isolate; }
.design-desktop .section-plans [data-name^="Video /"]:is(:hover, :focus-visible) [data-name="Backdrop / Blue"] {
  scale: 1.04642 1.07746;
  translate: -2px 2px;
  rotate: .17deg;
  border-radius: 16px;
}
.design-desktop .section-plans [data-name^="Video /"]:is(:hover, :focus-visible) [data-name="Cover"] { border-radius: 16px; }
.design-desktop .section-plans [data-name^="Video /"]:is(:hover, :focus-visible) [data-node-id="10172:1309"]:has(.video-hover-pulse) {
  left: 17px;
  top: 102px;
  width: 194.4px;
  height: 194.4px;
}
.design-desktop .section-plans [data-name^="Video /"]:is(:hover, :focus-visible) [data-node-id="10172:1309"]:has(.video-hover-pulse) > img:first-child { display: none; }
.design-desktop .section-plans [data-name^="Video /"]:is(:hover, :focus-visible) .video-hover-pulse { display: block; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  .design-desktop [data-reveal] > .content-stretch[data-content-stretch],
  .design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] { opacity: 1 !important; translate: none !important; }
  .desktop-category-track { animation: none; }
  .section-benefits [data-name="BarColumn"],
  .section-benefits [data-name="MeterFill"] { transform: none !important; }
  .section-benefits [data-name="Ring"] img { --approval-fill: 360deg !important; }
  .section-benefits [data-name="Card/Steps"] [data-name="Dot"],
  .design-mobile .section-benefits [data-reveal],
  .design-mobile .section-benefits [data-name="Dot"] img,
  .design-mobile .section-benefits [data-name^="Chip "] { opacity: 1 !important; translate: none !important; }
}


/* 2026-11: wider desktop content gutters, preserving the 1440px design rhythm */
@media (min-width: 900px) {
  .design-desktop .section-services > .content-stretch > .section-inner {
    width: min(1120px, calc(100% - 80px));
  }

  .design-desktop .section-plans [data-name="KL / Plans v3"] {
    left: 40px;
    width: calc(100% - 80px);
  }
  .design-desktop .section-plans [data-name="Field / Plan"],
  .design-desktop .section-plans [data-name="Details"] {
    width: 100%;
  }

  .design-desktop .section-calculator [data-name="Calculator Card"] {
    width: 1360px;
  }
  .design-desktop .section-calculator [data-node-id="10025:18897"] {
    width: calc(100% - 52px);
  }
  .design-desktop .section-calculator [data-node-id="10025:18898"] {
    width: calc(100% - 12px);
  }

  .design-desktop .section-steps > .content-stretch > .section-inner {
    padding-inline: 80px;
  }
  .design-desktop .section-steps [data-name="Content"] {
    width: 100%;
  }

  /* Center the complete desktop stores section on the 1440px canvas. */
  .design-desktop .section-stores [data-node-id="10164:9598"] {
    left: 50%;
    width: min(1280px, calc(100% - 80px));
    transform: translateX(-50%);
  }

  .design-desktop .section-faq > .content-stretch > .section-inner {
    padding-inline: 80px;
  }

  .design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] {
    padding-inline: 64px;
  }

  .design-desktop .section-footer > :first-child {
    padding-inline: 40px;
  }

  /* Store section uses a wider rail, but each card keeps the reference width. */
  .design-desktop .section-stores [data-name="Store Grid"] > [data-name="Frame"] {
    display: grid;
    grid-template-columns: repeat(auto-fit, 308px);
    gap: 16px;
    align-items: start;
    justify-content: start;
    direction: rtl;
    overflow: visible;
  }
  .design-desktop .section-stores [data-name="Store Grid"] > [data-name="Frame"] > [data-name="KL / Store Card"] {
    box-sizing: border-box;
    flex: none !important;
    width: 308px;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
}

/* Store cards remain visually static: no hover lift, brightness, or shadow. */
.section-stores [data-action="store"] {
  transition: none !important;
}
@media (hover: hover) {
  .section-stores [data-action="store"]:hover {
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
    translate: none !important;
  }
}

/* Desktop join-stores banner: match the inset, rounded Figma prototype. */
@media (min-width: 900px) {
  .design-desktop .section-join > .content-stretch {
    box-sizing: border-box;
    width: min(1280px, 88.8889%);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 32px;
  }

  .design-desktop .section-join [data-name="BG / Watercolour"] {
    width: 100%;
    border-radius: 32px;
  }

  .design-desktop .section-join [data-name="Grain"] {
    width: 100%;
  }

  .design-desktop .section-join [data-name="Content / RTL"] {
    left: 54.453125%;
    width: 39.453125%;
  }
}


/* Responsive hero height and compact sticky header */
.design-desktop .section-hero {
  height: 585px;
}
.design-desktop .section-hero [data-name="Fade"] {
  top: 456px;
}
.design-desktop .section-hero [data-name="Carousel Indicators"] {
  top: 543px;
}



/* 2026-11-16: hero, store-card and scroll-motion refinement */
@media (min-width: 900px) {
  /* Keep the logo, first navigation item and hero copy on one shared right rail.
     The 1440px Figma canvas remains centered on wider desktop displays. */
  .design-desktop .section-header [data-name="Header Actions"] {
    padding-right: 72px;
  }
  .design-desktop .section-header [data-name="Utility Navigation"] {
    position: relative;
    width: 1440px;
    max-width: none;
    box-sizing: border-box;
    padding-right: 72px;
  }
  .design-desktop .section-header [data-name="Utility Links"] {
    width: 100%;
  }

  .design-desktop .section-hero [data-name="Hero Content"] {
    left: auto;
    right: calc(72px + var(--desktop-gutter));
    width: 640px;
    max-width: none;
    margin-left: 0 !important;
    align-items: flex-end;
    text-align: right;
  }

  /* Store cards follow the supplied reference proportions:
     60% cover, compact identity row, logo at right and channel pills at left. */
  .design-desktop .section-stores [data-name="KL / Store Card"] {
    box-sizing: border-box;
    width: 308px;
    height: 213px;
    min-height: 213px;
    flex: 0 0 308px !important;
    border-radius: 8px;
    overflow: hidden;
  }
  .design-desktop .section-stores [data-name="Cover (default image — replace with store photo)"] {
    box-sizing: border-box;
    height: 128px;
    min-height: 128px;
    flex: 0 0 128px;
    padding: 0;
    width: 100%;
    overflow: hidden;
  }
  .design-desktop .section-stores [data-name="Body"] {
    box-sizing: border-box;
    height: 83px;
    min-height: 83px;
    flex: 0 0 83px;
    padding-top: 16px;
    padding-bottom: 19px;
    width: 100%;
  }
  .design-desktop .section-stores [data-name="Identity"] {
    width: 100%;
    height: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: flex-end;
  }
  .design-desktop .section-stores [data-name="Logo"] {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex: 0 0 48px;
  }
  .design-desktop .section-stores [data-name="Name & Category"] {
    min-width: 0;
    align-items: flex-end;
    gap: 4px;
  }
}

/* Scroll entrance for the desktop loan steps:
   phone slides in from the left; each step enters from above in order. */
.design-desktop .section-steps[data-reveal] > .content-stretch[data-content-stretch] {
  opacity: 1 !important;
  translate: none !important;
  transition: none !important;
}
.design-desktop .section-steps[data-reveal] [data-name="Phone Screenshot"] {
  opacity: 1;
  translate: none;
  transition:
    opacity .9s ease-out,
    translate .9s cubic-bezier(.22, 1, .36, 1);
}
.design-desktop .section-steps[data-reveal]:not([data-revealed]) [data-name="Phone Screenshot"] {
  opacity: 0;
  translate: -88px 0;
}
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "] {
  opacity: 1;
  translate: none;
  transition:
    opacity .62s ease-out,
    translate .62s cubic-bezier(.22, 1, .36, 1);
}
.design-desktop .section-steps[data-reveal]:not([data-revealed]) [data-name="Steps"] > [data-name^="Step "] {
  opacity: 0;
  translate: 0 -30px;
}
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(1) { transition-delay: .08s; }
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(2) { transition-delay: .22s; }
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(3) { transition-delay: .36s; }
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(4) { transition-delay: .50s; }
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(5) { transition-delay: .64s; }
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(6) { transition-delay: .78s; }
.design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(7) { transition-delay: .92s; }

/* The benefits section motion is intentionally slower and smoother. */
.design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] {
  transition-duration: .9s;
}
.section-benefits [data-name="BarColumn"] {
  transition-duration: 1.3s;
}
.section-benefits [data-name="MeterFill"] {
  transition-duration: 1.45s;
}
.section-benefits [data-name="Ring"] img {
  transition-duration: 1.45s;
}
.design-desktop .section-benefits [data-name="Card/Steps"] [data-name="Dot"] {
  transition-duration: .32s;
}
.design-mobile .section-benefits [data-reveal] {
  transition-duration: .65s;
}
.design-mobile .section-benefits [data-name="Chips"] [data-name^="Chip "] {
  transition-duration: .4s;
}
.design-mobile .section-benefits [data-name="Steps"] [data-name="Dot"] img {
  transition-duration: .3s;
}

@media (prefers-reduced-motion: reduce) {
  .design-desktop .section-steps[data-reveal] [data-name="Phone Screenshot"],
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "] {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}


/* 2026-11-16: final header contact alignment and desktop store-card layout */
@media (min-width: 900px) {
  /* Align the right edge of the support/phone row with the right edge
     of the Download App button in the left header action group. */
  .design-desktop .section-header [data-name="Support Contact"] {
    position: relative;
    left: 79px;
  }

  /* Desktop store card information row:
     logo at the right, title/category stacked beside it, channels at the left. */
  .design-desktop .section-stores [data-name="Body"] {
    padding: 14px 16px 16px;
  }
  .design-desktop .section-stores [data-name="Identity"] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) 40px;
    grid-template-rows: 24px 20px;
    grid-template-areas:
      "channels title logo"
      "channels category logo";
    column-gap: 8px;
    row-gap: 4px;
    direction: ltr;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    height: 48px;
    min-height: 48px;
    overflow: visible;
  }
  .design-desktop .section-stores [data-name="Name & Category"],
  .design-desktop .section-stores [data-name="Meta"] {
    display: contents;
  }
  .design-desktop .section-stores [data-name="Name & Category"] > :is(p, [data-kl-original-tag="p"]):first-child {
    grid-area: title;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    align-self: end;
    margin: 0;
    overflow: hidden;
    color: var(--text-primary, #121212);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .design-desktop .section-stores [data-name="Meta"] > :is(p, [data-kl-original-tag="p"]) {
    grid-area: category;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    align-self: start;
    margin: 0;
    overflow: hidden;
    color: var(--text-secondary, #696969);
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .design-desktop .section-stores [data-name="Channels"] {
    grid-area: channels;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-self: start;
    align-self: center;
    gap: 6px;
    direction: ltr;
    min-width: max-content;
    overflow: visible;
  }
  .design-desktop .section-stores [data-name="Meta"] > [data-name^="Channel /"] {
    grid-area: channels;
    justify-self: start;
    align-self: center;
  }
  .design-desktop .section-stores [data-name="Logo"] {
    grid-area: logo;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: none;
    justify-self: end;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
  }
  .design-desktop .section-stores [data-name="Logo"] img {
    object-fit: contain;
    border-radius: 12px;
  }
}

/* Keep the desktop header contact aligned proportionally on compact desktop widths. */
@media (min-width: 900px) and (max-width: 1100px) {
  .design-desktop .section-header [data-name="Support Contact"] {
    left: 42px;
  }
}


/* 2026-11-16: responsive wider desktop join-stores banner */
@media (min-width: 900px) {
  .design-desktop .section-join > .content-stretch {
    box-sizing: border-box;
    width: min(1600px, calc(100% - clamp(48px, 8vw, 160px)));
    max-width: calc(100% - 40px);
    margin-inline: auto;
  }

  .design-desktop .section-join [data-name="BG / Watercolour"],
  .design-desktop .section-join [data-name="Grain"] {
    width: 100%;
  }
}

/* Keep the banner headline and CTA inside the wider banner on compact desktop widths. */
@media (min-width: 900px) and (max-width: 1439px) {
  .design-desktop .section-join [data-name="Content / RTL"] {
    left: 48%;
    width: 48%;
  }

  .design-desktop .section-join [data-name="Content / RTL"] > :is(p, [data-kl-original-tag="p"]):first-child {
    font-size: clamp(24px, 2.2vw, 30px);
    white-space: normal;
  }

  .design-desktop .section-join [data-name="Content / RTL"] > :is(p, [data-kl-original-tag="p"]):nth-child(2) {
    width: min(350px, 100%);
    font-size: clamp(16px, 1.4vw, 18px);
  }
}


/* 2026-11-16: slower, more perceptible scroll-triggered motion */
@media (prefers-reduced-motion: no-preference) {
  /* General section reveals: give each section enough time to be noticed. */
  .design-desktop [data-reveal] {
    --reveal-duration: 1.15s;
  }
  .design-desktop .section-services {
    --reveal-duration: 1.4s;
  }
  .design-desktop .section-plans {
    --reveal-duration: .9s;
  }
  .design-desktop [data-reveal] > .content-stretch[data-content-stretch] {
    transition-duration: var(--reveal-duration);
  }
  .design-desktop [data-reveal]:not([data-revealed]):not(:focus-within) > .content-stretch[data-content-stretch] {
    translate: 0 42px;
  }

  /* Loan steps: phone first, then seven cards with a clear stagger. */
  .design-desktop .section-steps[data-reveal] [data-name="Phone Screenshot"] {
    transition-duration: 1.5s;
  }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "] {
    transition-duration: 1.05s;
  }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(1) { transition-delay: .12s; }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(2) { transition-delay: .30s; }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(3) { transition-delay: .48s; }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(4) { transition-delay: .66s; }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(5) { transition-delay: .84s; }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(6) { transition-delay: 1.02s; }
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "]:nth-child(7) { transition-delay: 1.20s; }

  /* Benefits: slower chart growth, progress fill and approval ring. */
  .design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] {
    transition-duration: 1.2s;
  }
  .section-benefits [data-name="BarColumn"] {
    transition-duration: 1.8s;
  }
  .section-benefits [data-name="Bar 24"] > :first-child { transition-delay: .16s; }
  .section-benefits [data-name="Bar 18"] > :first-child { transition-delay: .34s; }
  .section-benefits [data-name="Bar 12"] > :first-child { transition-delay: .52s; }
  .section-benefits [data-name="Bar 6"] > :first-child { transition-delay: .70s; }
  .section-benefits [data-name="MeterFill"],
  .section-benefits [data-name="Ring"] img {
    transition-duration: 2s;
  }
  .design-desktop .section-benefits [data-name="Card/Steps"] [data-name="Dot"] {
    transition-duration: .7s;
  }

  /* Mobile benefits rows and chips should also be perceptible while scrolling. */
  .design-mobile .section-benefits [data-reveal] {
    transition-duration: .95s;
  }
  .design-mobile .section-benefits [data-name="Chips"] [data-name^="Chip "] {
    transition-duration: .75s;
  }
  .design-mobile .section-benefits [data-name="Steps"] [data-name="Dot"] img {
    transition-duration: .65s;
  }
}

/* Keep all reveal states visible for visitors who request reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .design-desktop [data-reveal] > .content-stretch[data-content-stretch],
  .design-desktop .section-steps[data-reveal] [data-name="Phone Screenshot"],
  .design-desktop .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "],
  .design-desktop .section-benefits [data-name="Section / Why Kaman Lend"],
  .design-mobile .section-benefits [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}




/* Kaman Lend Smart Header — adapted from Figma node 11161:11299.
   Expanded: 108px (68px actions + 40px utility row).
   Collapsed: 68px (actions only); utility row moves up and fades away. */
.design-desktop .section-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  height: 108px;
  transition: height .38s cubic-bezier(.22, 1, .36, 1);
  isolation: isolate;
}

.design-desktop .section-header > [data-name="Header"] {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: clip;
}

.design-desktop .section-header [data-name="Header Actions"] {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 68px;
  min-height: 68px;
  padding: 14px calc(72px + var(--desktop-gutter)) 14px 80px;
  align-items: center;
  justify-content: space-between;
  overflow: clip;
}

.design-desktop .section-header [data-name="Header Navigation"] {
  display: flex;
  box-sizing: border-box;
  width: 934px;
  max-width: none;
  height: 68px;
  min-height: 68px;
  gap: 64px;
  align-items: center;
  justify-content: flex-end;
}

.design-desktop .section-header [data-name="Brand"] {
  display: flex;
  flex: none;
  height: 32px;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.design-desktop .section-header [data-name="کمان لند"] {
  flex: none;
  width: 153.6px;
  height: 32px;
}

.design-desktop .section-header [data-name="کمان لند"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-desktop .section-header [data-name="Image_1-9 2"] {
  flex: none;
  width: 32px;
  height: 32px;
}

.design-desktop .section-header [data-name="Image_1-9 2"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-desktop .section-header [data-name="Utility Navigation"] {
  position: absolute;
  top: 68px;
  left: 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 40px;
  min-height: 40px;
  padding: 0;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  pointer-events: auto;
  transition:
    top .38s cubic-bezier(.22, 1, .36, 1),
    opacity .24s ease,
    visibility 0s linear 0s;
  will-change: top, opacity;
}

.design-desktop .section-header [data-name="Utility Links"] {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 40px;
  min-height: 40px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding-left: 80px;
  padding-right: calc(72px + var(--desktop-gutter));
  margin-inline: 0;
}

.design-desktop .section-header [data-name="Support Contact"] {
  position: static;
  left: auto;
  flex: none;
  align-items: center;
}

.design-desktop .section-header [data-name="Main Navigation"] {
  display: flex;
  height: 40px;
  max-height: none;
  flex: none;
  gap: 16px;
  align-items: center;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  translate: none;
  pointer-events: auto;
  transition: none;
}

.design-desktop .section-header.is-scrolled {
  height: 68px;
}

.design-desktop .section-header.is-scrolled [data-name="Utility Navigation"] {
  top: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    top .38s cubic-bezier(.22, 1, .36, 1),
    opacity .2s ease,
    visibility 0s linear .38s;
}

@media (prefers-reduced-motion: reduce) {
  .design-desktop .section-header,
  .design-desktop .section-header [data-name="Utility Navigation"] {
    transition: none !important;
  }
}

/* Mobile header remains independent from the desktop smart-header states. */
@media (max-width: 899px) {
  #mobile-header {
    position: sticky;
    top: 0;
    z-index: 10000;
  }
  #mobile-header > :first-child {
    box-shadow: 0 3px 14px rgb(0 0 0 / .08);
  }
}

.mobile-preview #mobile-header {
  position: sticky;
  top: 0;
  z-index: 10000;
}

.mobile-preview #mobile-header > :first-child {
  box-shadow: 0 3px 14px rgb(0 0 0 / .08);
}


/* Shared desktop right rail and hero CTA alignment (2026-11-16).
   Header brand + first utility-menu item now share the hero title's
   right edge, including on wide viewports where the 1440px canvas
   has a centered gutter. */
@media (min-width: 900px) {
  .design-desktop .section-hero [data-name="Hero Content"] {
    right: calc(80px + var(--desktop-gutter));
  }

  .design-desktop .section-hero [data-name="CTAs"] {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .design-desktop .section-hero [data-name="CTAs"] > [data-name^="Button /"] {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    height: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }
}


/* 2026-11-16: align ONLY the left header groups with the hero phone edge.
   Keep the brand and all right-side navigation rules completely untouched. */
@media (min-width: 900px) {
  .design-desktop .section-header [data-name="Header Actions"] [data-name="Header Buttons"] {
    position: absolute;
    left: calc(463.009px + var(--desktop-gutter));
    top: 50%;
    margin: 0;
    transform: translate(-100%, -50%);
  }

  .design-desktop .section-header [data-name="Utility Links"] [data-name="Support Contact"] {
    position: absolute;
    left: calc(463.009px + var(--desktop-gutter));
    top: 50%;
    margin: 0;
    transform: translate(-100%, -50%);
  }
}


/* V15 FIX: restore the centered 1440px Figma header canvas.
   Keep brand/navigation on the right; align only the two left groups
   to the right edge of the hero phone mockup. */
@media (min-width: 900px) {
  .design-desktop .section-header {
    height: 108px;
    overflow: visible;
  }

  .design-desktop .section-header > [data-name="Header"] {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: visible;
  }

  .design-desktop .section-header [data-name="Header Actions"] {
    position: absolute;
    inset: 0 auto auto 50%;
    transform: translateX(-50%);
    display: flex;
    box-sizing: border-box;
    width: 1440px;
    max-width: none;
    height: 68px;
    min-height: 68px;
    padding: 14px 72px 14px 80px;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
  }

  /* Left-side buttons: right edge aligned with the hero phone. */
  .design-desktop .section-header [data-name="Header Actions"] [data-name="Header Buttons"] {
    position: absolute;
    left: 463.009px;
    top: 50%;
    margin: 0;
    transform: translate(-100%, -50%);
  }

  /* Right-side brand/logo remains in its original right-aligned lane. */
  .design-desktop .section-header [data-name="Header Navigation"] {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 934px;
    max-width: none;
    height: 68px;
    min-height: 68px;
    margin-left: auto;
    gap: 64px;
    align-items: center;
    justify-content: flex-end;
  }

  .design-desktop .section-header [data-name="Brand"] {
    display: flex;
    flex: none;
    height: 32px;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
  }

  /* Right-side main navigation remains anchored to the right edge. */
  .design-desktop .section-header [data-name="Utility Navigation"] {
    position: absolute;
    inset: 68px auto auto 50%;
    transform: translateX(-50%);
    display: flex;
    box-sizing: border-box;
    width: 1440px;
    max-width: none;
    height: 40px;
    min-height: 40px;
    padding: 0 72px 0 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    translate: none;
    pointer-events: auto;
    transition:
      top .38s cubic-bezier(.22, 1, .36, 1),
      opacity .24s ease,
      visibility 0s linear 0s;
    will-change: top, opacity;
  }

  .design-desktop .section-header [data-name="Utility Links"] {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 40px;
    min-height: 40px;
    padding: 0;
    margin: 0;
    flex: none;
    align-items: center;
    justify-content: flex-start;
  }

  /* Left-side support and phone: same endpoint as the hero phone. */
  .design-desktop .section-header [data-name="Utility Links"] [data-name="Support Contact"] {
    position: absolute;
    left: 340.009px;
    top: 50%;
    margin: 0;
    transform: translate(-100%, -50%);
    flex: none;
    align-items: center;
  }

  .design-desktop .section-header [data-name="Main Navigation"] {
    position: relative;
    display: flex;
    height: 40px;
    max-height: none;
    margin-left: auto;
    flex: none;
    gap: 16px;
    align-items: center;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    translate: none;
    pointer-events: auto;
    transition: none;
  }

  .design-desktop .section-header.is-scrolled {
    height: 68px;
  }

  .design-desktop .section-header.is-scrolled [data-name="Utility Navigation"] {
    top: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      top .38s cubic-bezier(.22, 1, .36, 1),
      opacity .2s ease,
      visibility 0s linear .38s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-desktop .section-header,
  .design-desktop .section-header [data-name="Utility Navigation"] {
    transition: none !important;
  }
}


/* V15 alignment correction — keep the Benefits cards and Plans panel on
   the same 1200px desktop content rail, matching the supplied references.
   The cards, video, typography, colors, and internal component dimensions
   are left intact; only the outer plan frame and its two horizontal rows
   use the shared width. */
@media (min-width: 900px) {
  .design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] {
    left: var(--desktop-gutter);
  }

  .design-desktop .section-benefits [data-name="Cards"] {
    box-sizing: border-box;
    width: 1200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .design-desktop .section-plans [data-name="KL / Plans v3"] {
    box-sizing: border-box;
    left: 80px;
    width: 1280px;
    max-width: calc(100% - 160px);
  }

  .design-desktop .section-plans [data-name="Field / Plan"],
  .design-desktop .section-plans [data-name="Details"] {
    box-sizing: border-box;
    width: 1200px;
    max-width: 100%;
    /* Do not set flex-basis here: the parent is a column, so that
       would incorrectly turn 1200px into a height and push Details down. */
  }
}


/* V19 — shared full-bleed section architecture.
   Every non-header/footer section has one .content-stretch rail. The section
   owns its background; the original Figma canvas remains inside the rail so
   absolute-positioned artwork and responsive interactions retain their
   established coordinate system. */
.section > .content-stretch[data-content-stretch="true"] {
  box-sizing: border-box;
  position: relative;
  width: min(1280px, calc(100% - 160px));
  max-width: 1280px;
  height: 100%;
  margin-inline: auto;
  padding: 0;
  overflow: clip;
  background: transparent;
}


/* v1.3.31 — desktop hero must share the same 1440px horizontal canvas as the
   header so neither the left phone cluster nor the right text block is clipped.
   This keeps the hero's visual start/end aligned with the header rails. */
.design-desktop .section-hero > .content-stretch[data-content-stretch="true"] {
  width: min(1440px, calc(100% - 160px));
  max-width: 1440px;
}

.section > .content-stretch[data-content-stretch="true"] > .section-inner {
  box-sizing: border-box;
  position: relative;
  width: 100vw;
  max-width: none;
  height: 100%;
  left: calc((100% - 100vw) / 2);
  margin: 0;
}

/* Desktop sections that use the centered 1440px Figma canvas. */
.design-desktop .section-hero > .content-stretch > .section-inner,
.design-desktop .section-plans > .content-stretch > .section-inner,
.design-desktop .section-stores > .content-stretch > .section-inner,
.design-desktop .section-faq > .content-stretch > .section-inner {
  width: min(1440px, 100vw);
  left: calc((100% - min(1440px, 100vw)) / 2);
}

/* Narrower, intentionally designed desktop content canvases. */
.design-desktop .section-services > .content-stretch > .section-inner {
  width: min(1120px, 100%);
  height: auto;
  left: 0;
  margin-inline: auto;
}

.design-desktop .section-app > .content-stretch > .section-inner {
  width: min(1280px, 100vw);
  left: calc((100% - min(1280px, 100vw)) / 2);
}

.design-desktop .section-join > .content-stretch {
  width: min(1280px, calc(100% - 160px));
  max-width: 1280px;
}

.design-desktop .section-join > .content-stretch > .section-inner {
  width: 100%;
  left: 0;
}

/* Full-width desktop canvases whose actual content is clipped to the common rail. */
.design-desktop .section-benefits > .content-stretch > .section-inner,
.design-desktop .section-calculator > .content-stretch > .section-inner,
.design-desktop .section-categories > .content-stretch > .section-inner {
  width: 100vw;
  left: calc((100% - 100vw) / 2);
}

/* Calculator frame aligns exactly with the shared desktop content rail. */


/* The FAQ inner canvas uses the same 80px desktop rail inset. */
.design-desktop .section-faq > .content-stretch > .section-inner {
  padding-inline: 80px;
}

/* Full-bleed hero background layers stay outside the constrained content rail. */
.design-desktop .section-hero > .content-stretch > .section-inner {
  margin-left: 0;
}
.design-desktop .section-hero > [data-name^="Glow /"] {
  margin-left: var(--desktop-gutter);
}
.design-desktop .section-hero [data-name="Fade"] {
  z-index: 1;
}
.design-desktop .section-hero [data-name="Hero Content"] {
  z-index: 2;
}
.design-desktop .section-hero [data-name="Carousel Indicators"] {
  z-index: 3;
}

/* Keep the benefits and steps section backgrounds on the full-width sections. */
.design-desktop .section-benefits,
.design-desktop .section-steps {
  background-color: var(--page);
}
.design-desktop .section-benefits > .content-stretch,
.design-desktop .section-steps > .content-stretch {
  background: transparent !important;
}
.design-desktop .section-steps > .content-stretch > .section-inner {
  padding-inline: 80px;
}

/* Mobile content rail: 16px side gutters, with original 390px coordinates preserved. */
.design-mobile .section > .content-stretch[data-content-stretch="true"] {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 358px;
  height: 100%;
  margin-inline: auto;
  padding: 0;
  overflow: clip;
}
.design-mobile .section > .content-stretch[data-content-stretch="true"] > .section-inner {
  box-sizing: border-box;
  position: relative;
  width: calc(100% + 32px);
  max-width: none;
  height: 100%;
  left: -16px;
  margin: 0;
}

/* Mobile steps and FAQ are content-height sections, not fixed-height boxes. */
.design-mobile .section-steps,
.design-mobile .section-faq {
  height: auto;
  min-height: var(--section-height);
}
.design-mobile .section-steps > .content-stretch,
.design-mobile .section-faq > .content-stretch {
  height: auto;
  min-height: var(--section-height);
}
.design-mobile .section-steps > .content-stretch > .section-inner,
.design-mobile .section-faq > .content-stretch > .section-inner {
  height: auto;
  min-height: var(--section-height);
}

/* Full-bleed mobile hero fade and copy retain their intended visual layering. */
.design-mobile .section-hero [data-name^="Glow /"] { z-index: 0; }
.design-mobile .section-hero [data-name="Phone"] { z-index: 1; }
.design-mobile .section-hero [data-name="Fade"] { z-index: 2; }
.design-mobile .section-hero [data-name="Hero Copy"],
.design-mobile .section-hero [data-name="CTAs"],
.design-mobile .section-hero [data-name="Dots"] { z-index: 3; }


/* V19 responsive guardrails: at compact desktop widths, keep every major
   content block inside the shared 1280px rail instead of clipping it. */
@media (min-width: 900px) {
  .design-desktop .section-benefits [data-name="Section / Why Kaman Lend"] {
    width: min(1440px, 100vw);
  }

  .design-desktop .section-benefits [data-name="Cards"] {
    width: min(1200px, calc(100vw - 160px));
    max-width: 100%;
    margin-inline: auto;
  }

  .design-desktop .section-stores [data-node-id="10164:9598"] {
    width: min(1280px, calc(100vw - 160px));
    max-width: 1280px;
  }

  .design-desktop .section-steps [data-name="Content"] {
    width: min(1280px, calc(100vw - 160px));
    max-width: 1280px;
    flex: 0 1 1280px;
  }

  .design-desktop .section-app > .content-stretch > .section-inner {
    width: 1280px;
    left: calc((100% - 1280px) / 2);
  }
}


/* V20 — center the loan-steps content inside the shared content rail.
   The decorative glows remain full-bleed at section level; the actual
   Figma canvas now uses the centered 1280px content-stretch rail. */
@media (min-width: 900px) {
  .design-desktop .section-steps > .content-stretch > .section-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    left: 0;
    padding-inline: 0;
  }

  .design-desktop .section-steps [data-name="Content"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    flex: 0 1 100%;
    align-self: center;
    margin-inline: auto;
  }
}

/* V20 — keep the white calculator panel symmetrically inset inside its
   full-width gradient/glow frame. Target the inner panel by its exact Figma
   node so it cannot inherit the outer frame's width. */
@media (min-width: 900px) {
  .design-desktop .section-calculator [data-node-id="10025:18893"] {
    box-sizing: border-box;
    width: min(1280px, calc(100vw - 160px));
    max-width: 1280px;
    margin-inline: auto;
  }

  .design-desktop .section-calculator [data-node-id="10025:18897"] {
    box-sizing: border-box;
    left: 26px;
    right: 26px;
    width: calc(100% - 52px);
  }

  .design-desktop .section-calculator [data-node-id="10025:18898"] {
    box-sizing: border-box;
    width: calc(100% - 12px);
  }
}


/* V22 — keep all seven dynamically swapped desktop step canvases inside the
   same centered 1280px rail. The template roots now share .section-inner with
   the initial step, and these guards prevent intrinsic flex widths from
   pushing the cards outside the rail on narrower desktop viewports. */
@media (min-width: 900px) {
  .design-desktop .section-steps > .content-stretch > .section-inner {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    left: 0;
    margin-inline: 0;
    padding-inline: 0;
  }

  .design-desktop .section-steps [data-name="Content"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    flex: 0 1 100%;
    align-self: center;
    margin-inline: auto;
  }

  .design-desktop .section-steps [data-name="Steps"] {
    min-width: 0;
  }
}
.design-desktop .section-hero [data-name="Hero Content"] {
  overflow: visible !important;
}

/* Temporary category/store destinations; replaced by full detail layouts in the next phase. */
.kl-entity-placeholder {
	min-height: 58vh;
	display: grid;
	place-items: center;
	padding: 56px 20px;
	background: radial-gradient(circle at 12% 10%, rgb(1 88 204 / 8%), transparent 32%), #f3f4f7;
	direction: rtl;
}
.kl-entity-placeholder__card {
	width: min(100%, 720px);
	padding: clamp(28px, 5vw, 56px);
	border: 1px solid #e8edf5;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 60px rgb(20 33 61 / 8%);
	text-align: center;
}
.kl-entity-placeholder__eyebrow { color: #0158cc; font-weight: 700; }
.kl-entity-placeholder__card h1 { margin: 10px 0 18px; color: #1d2433; font-size: clamp(24px, 4vw, 34px); }
.kl-entity-placeholder__card p { color: #667085; line-height: 2; }
.kl-entity-placeholder__card a { display: inline-flex; margin-top: 18px; padding: 12px 24px; border-radius: 8px; background: #0158cc; color: #fff; }



/* Keep the entire phone image inside its desktop frame. */
.design-desktop .section-steps [data-name="Content"] > [data-name="Phone Screenshot"] {
  left: 64px;
}
.design-desktop .section-steps [data-name="Phone Screenshot"] > .overflow-hidden > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

@media (prefers-reduced-motion: no-preference) {
  .design-mobile .section-steps[data-reveal] [data-name="Steps"] > [data-name^="Step "] {
    transition: border-color .3s ease-out, opacity .65s ease-out, translate .65s ease-out;
    transition-delay: 0s, calc(var(--step-order, 0) * 90ms), calc(var(--step-order, 0) * 90ms);
  }
  .design-mobile .section-steps[data-reveal] [data-name="Screen"] {
    transition: opacity .75s ease-out, translate .75s ease-out;
  }
  .design-mobile .section-steps[data-reveal]:not([data-revealed]):not(:focus-within) [data-name="Steps"] > [data-name^="Step "] {
    opacity: 0;
    translate: 0 -18px;
  }
  .design-mobile .section-steps[data-reveal]:not([data-revealed]):not(:focus-within) [data-name="Screen"] {
    opacity: 0;
    translate: -24px 0;
  }
}

/* v1.3.29 — latest desktop home Figma 10968:31327 (previously 9949:5834).
 * The old desktop hero had been vertically stretched to 585px and its phone,
 * floating labels and indicators no longer matched the current 520px design. */
@media (min-width: 900px) {
  .kl-elementor-widget--hero .design-desktop .section-hero {
    --section-height: 520px;
    height: 520px;
  }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Phone"] { left: 174px; top: 62px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Float / موبایل و تبلت"] { left: 59px; top: 94px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Float / اعتبار"] { left: 14px; top: 175px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Float / پرداخت تا ۳۶ قسط"] { left: 89px; top: 271px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Float / لپ‌تاپ و دیجیتال"] { left: 433px; top: 114px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Float / لوازم خانگی"] { left: 428px; top: 189px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Float / لوازم آشپزخانه"] { left: 419px; top: 285px; }
  /* Match the 1440px Figma canvas: its headline ends at x=1345 (95px
     from the right), inside the 1280px content rail. Do not set left and right
     simultaneously: the former pushed the 640px box behind the rail clip. */
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Hero Content"] {
    left: auto;
    right: 95px;
    top: 111px;
    width: 600px;
    max-width: calc(100% - 110px);
    min-width: 0;
  }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Carousel Indicators"] { top: 399px; }
  .kl-elementor-widget--hero .design-desktop .section-hero [data-name="Fade"] {
    top: 346px; left: 0; width: 100%; height: 174px;
  }
  .kl-elementor-widget--services .design-desktop .section-services {
    --section-space: 16px;
    --section-height: 1009px;
    height: 1009px;
    margin-top: 16px;
  }
}

/* v1.3.29 — mobile Figma 10243:9927 uses contiguous 390px sections.
 * Previously, --section-space was applied as an extra top margin to each
 * independent Elementor widget, producing ~300px of cumulative drift by FAQ.
 * With the consultation component after the hero, the measured section slots are:
 * services 20+568, benefits 716, plans 683, calculator 878, categories 462,
 * stores 559, steps 1086, join 188, app 573, FAQ 626. */
@media (max-width: 899px) {
  .kl-elementor-widget--services .design-mobile .section-services {
    --section-space: 20px; --section-height: 568px; margin-top: 20px; height: 568px;
  }
  .kl-elementor-widget--benefits .design-mobile .section-benefits {
    --section-space: 0px; --section-height: 716px; margin-top: 0; height: 716px;
  }
  .kl-elementor-widget--plans .design-mobile .section-plans {
    --section-space: 0px; --section-height: 683px; margin-top: 0; height: 683px;
  }
  .kl-elementor-widget--calculator .design-mobile .section-calculator {
    --section-space: 0px; --section-height: 878px; margin-top: 0; height: 878px;
  }
  .kl-elementor-widget--categories .design-mobile .section-categories {
    --section-space: 0px; --section-height: 462px; margin-top: 0; height: 462px;
  }
  .kl-elementor-widget--stores .design-mobile .section-stores {
    --section-space: 0px; --section-height: 559px; margin-top: 0; height: 559px;
  }
  .kl-elementor-widget--steps .design-mobile .section-steps {
    --section-space: 0px; --section-height: 1086px; margin-top: 0; min-height: 1086px;
  }
  .kl-elementor-widget--join .design-mobile .section-join {
    --section-space: 0px; --section-height: 188px; margin-top: 0; height: 188px;
  }
  .kl-elementor-widget--app .design-mobile .section-app {
    --section-space: 0px; --section-height: 573px; margin-top: 0; height: 573px;
  }
  .kl-elementor-widget--faq .design-mobile .section-faq {
    --section-space: 0px; --section-height: 626px; margin-top: 0; min-height: 626px;
  }
}

/* Figma 10968:31327 — normalize *all* desktop widget slots to the latest
 * 1440px frame. Each is a separate Elementor widget, so these margins are
 * measured between successive top-level Figma sections (not inside a frame).
 * Site owner must keep the home widgets in Figma order. */
@media (min-width: 900px) {
  .kl-elementor-widget--benefits .design-desktop .section-benefits {
    --section-space: 16px; --section-height: 674px; margin-top: 16px; height: 674px;
  }
  .kl-elementor-widget--plans .design-desktop .section-plans {
    --section-space: 0px; --section-height: 810px; margin-top: 0; height: 810px;
  }
  .kl-elementor-widget--calculator .design-desktop .section-calculator {
    --section-space: 12px; --section-height: 902px; margin-top: 12px; height: 902px;
  }
  .kl-elementor-widget--categories .design-desktop .section-categories {
    --section-space: 23px; --section-height: 460px; margin-top: 23px; height: 460px;
  }
  .kl-elementor-widget--stores .design-desktop .section-stores {
    --section-space: 60px; --section-height: 849px; margin-top: 60px; height: 849px;
  }
  .kl-elementor-widget--steps .design-desktop .section-steps {
    --section-space: 0px; --section-height: 906px; margin-top: 0; height: 906px;
  }
  .kl-elementor-widget--join .design-desktop .section-join {
    --section-space: 96px; --section-height: 221px; margin-top: 96px; height: 221px;
  }
  .kl-elementor-widget--faq .design-desktop .section-faq {
    --section-space: 89px; --section-height: 742px; margin-top: 89px; min-height: 742px;
  }
  .kl-elementor-widget--app .design-desktop .section-app {
    --section-space: 49px; --section-height: 469px; margin-top: 49px; height: 469px;
  }
}

/* The latest 390px Figma shifts the heading/content inset of the steps and
 * application panels from the exported 36px to 61px. */
@media (max-width: 899px) {
  .kl-elementor-widget--steps .design-mobile .section-steps .section-inner,
  .kl-elementor-widget--app .design-mobile .section-app .section-inner {
    padding-top: 61px;
  }
}

/* v1.3.32: the consultation form already follows the mobile hero; the
 * services section must not reserve another blank area above its heading. */
@media (max-width: 899px) {
  .kl-elementor-widget--services .design-mobile .section-services {
    --section-space: 0px;
    margin-top: 0;
    height: auto;
    min-height: 0;
    --section-height: auto;
  }
  .kl-elementor-widget--services .design-mobile .section-services > .content-stretch[data-content-stretch="true"] {
    height: auto;
    overflow: hidden;
  }
  .kl-elementor-widget--services .design-mobile .section-services > .content-stretch > .section-inner {
    height: auto;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 20px;
    justify-content: flex-start;
  }
}
