/* KV Payments — helpers Elementor cannot do natively */

:root {
  --kv-navy: #0c2744;
  --kv-navy-mid: #124477;
  --kv-navy-deep: #071624;
  --kv-orange: #e56607;
  --kv-orange-hot: #f07820;
  --kv-cream: #f4efe6;
  --kv-ink: #101820;
  --kv-muted: #5c6b7a;
  --kv-paper: #fbf8f3;
  --kv-max: 1280px;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600-latin.woff2") format("woff2");
}

html { scroll-behavior: smooth; }
html, body.kv-payments { overflow-x: clip; max-width: 100%; }

body.kv-payments {
  background: #fbf8f3;
  color: #101820;
  -webkit-font-smoothing: antialiased;
}

.kv-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: #e56607;
  color: #f4efe6;
  padding: 8px 16px;
  border-radius: 999px;
  font: 600 14px Outfit, system-ui, sans-serif;
}
.kv-skip:focus { top: 12px; }
#kv-main { scroll-margin-top: 96px; }

body.kv-payments.elementor-page .site,
body.kv-payments.elementor-page .site-main,
body.kv-payments.elementor-page .content-area,
body.kv-payments.elementor-page #content,
body.kv-payments.elementor-page .page-content,
body.kv-payments.elementor-page article,
body.kv-payments.elementor-page .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.kv-payments .e-con-boxed.e-con {
  --container-max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.kv-grid-2,
.kv-grid-3,
.kv-grid-4 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
.kv-grid-2 > .elementor-element {
  flex: 1 1 calc(50% - 16px) !important;
  width: calc(50% - 16px) !important;
  max-width: calc(50% - 16px) !important;
}
.kv-grid-3 > .elementor-element {
  flex: 1 1 calc(33.333% - 16px) !important;
  width: calc(33.333% - 16px) !important;
  max-width: calc(33.333% - 16px) !important;
}
.kv-grid-4 > .elementor-element {
  flex: 1 1 calc(25% - 16px) !important;
  width: calc(25% - 16px) !important;
  max-width: calc(25% - 16px) !important;
}

@media (max-width: 1024px) {
  .kv-grid-4 > .elementor-element,
  .kv-grid-3 > .elementor-element {
    flex: 1 1 calc(50% - 16px) !important;
    width: calc(50% - 16px) !important;
    max-width: calc(50% - 16px) !important;
  }
}
@media (max-width: 767px) {
  .kv-grid-2 > .elementor-element,
  .kv-grid-3 > .elementor-element,
  .kv-grid-4 > .elementor-element {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.kv-payments a:focus-visible,
.kv-payments button:focus-visible,
.kv-payments .elementor-button:focus-visible {
  outline: 2px solid #e56607;
  outline-offset: 3px;
}

.kv-payments .elementor-button {
  border-radius: 999px !important;
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 44px;
}

.kv-header .elementor-widget-image { display: none !important; }

.kv-header-bar,
.kv-header .kv-header-bar.e-con {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.kv-header { z-index: 50; }
.kv-logo {
  flex: 0 0 186px;
  width: 186px;
  max-width: 186px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.kv-logo svg,
.kv-logo img {
  display: block !important;
  width: 186px !important;
  height: 24px !important;
  max-width: 186px !important;
}
.kv-desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.kv-menu { width: 100%; }
.kv-menu-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kv-menu-item {
  position: relative;
  list-style: none;
  margin: 0;
}
.kv-menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  color: #0c2744;
  font: 500 13px/1 Outfit, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.kv-menu-item > a:hover { color: #e56607; }
.kv-caret { display: inline-block; }
.kv-menu-item .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fbf8f3;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 40px -20px rgba(12, 39, 68, 0.35);
  padding: 8px;
  z-index: 80;
  list-style: none;
  margin: 0;
}
.kv-menu-item:hover > .sub-menu,
.kv-menu-item:focus-within > .sub-menu,
.kv-menu-item.has-children.is-open > .sub-menu { display: block; }
.kv-menu-item .sub-menu a {
  display: block;
  padding: 8px 12px;
  color: #0c2744;
  font: 500 13px Outfit, system-ui, sans-serif;
  text-decoration: none;
  border-radius: 8px;
}
.kv-menu-item .sub-menu a:hover { background: #f4efe6; color: #e56607; }
.kv-header-cta { flex: 0 0 auto; }

.kv-hero-split {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 40px !important;
}
.kv-hero-split > .elementor-element.kv-hero-copy,
.kv-hero-split > .kv-hero-copy,
.kv-hero-split > .e-con:first-child {
  flex: 1 1 52% !important;
  width: 52% !important;
  max-width: 52% !important;
}
.kv-hero-split > .elementor-element.kv-hero-visual,
.kv-hero-split > .kv-hero-visual,
.kv-hero-split > .e-con:last-child {
  flex: 1 1 48% !important;
  width: 48% !important;
  max-width: 48% !important;
}
.kv-cta-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}
.kv-cta-row > .elementor-element {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
.kv-stats {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
  padding-top: 20px !important;
}
.kv-stats > .elementor-element {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
}

.kv-hero-stage {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
}
.kv-hero-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.kv-hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(7, 22, 36, 0.72);
  color: #f4efe6;
  font: 600 10px/1 Outfit, system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.kv-hero-thumb {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 38%;
  max-width: 220px;
  border-radius: 12px;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(251, 248, 243, 0.35);
}

@media (max-width: 1024px) {
  .kv-header-bar { gap: 12px !important; }
  .kv-desktop-nav { display: none !important; }
  .kv-hero-split { flex-wrap: wrap !important; }
  .kv-hero-split > .elementor-element.kv-hero-copy,
  .kv-hero-split > .kv-hero-copy,
  .kv-hero-split > .elementor-element.kv-hero-visual,
  .kv-hero-split > .kv-hero-visual,
  .kv-hero-split > .e-con:first-child,
  .kv-hero-split > .e-con:last-child {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.kv-mobile-panel,
.kv-mobile-drawer {
  display: none !important;
  background: #fbf8f3;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
  padding: 12px 8px 24px;
}
.kv-mobile-panel.is-open,
.kv-mobile-drawer.is-open { display: block !important; }
.kv-mobile-drawer a {
  display: block;
  padding: 12px 8px;
  min-height: 44px;
  color: #0c2744;
  text-decoration: none;
  font: 500 16px Outfit, system-ui, sans-serif;
  border-bottom: 1px solid rgba(16, 24, 32, 0.06);
}
.kv-hamburger {
  display: none !important;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0c2744;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .kv-hamburger,
  .kv-header .elementor-widget-html:has(.kv-hamburger) {
    display: grid !important;
    place-items: center;
  }
  .kv-desktop-nav,
  .kv-desktop-nav > .menu,
  .kv-desktop-nav > ul { display: none !important; }
}

.kv-zoom img { transition: transform 700ms ease; }
.kv-zoom:hover img { transform: scale(1.05); }

@keyframes kv-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.kv-kenburns img {
  animation: kv-kenburns 18s ease-out forwards;
  transform-origin: center center;
}
@keyframes kv-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.kv-floaty { animation: kv-floaty 6s ease-in-out infinite; }

.kv-marquee { overflow: hidden; max-width: 100%; }
.kv-marquee .elementor-widget-heading .elementor-heading-title {
  white-space: nowrap;
  animation: kv-marquee 36s linear infinite;
}
@keyframes kv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.kv-header.elementor-sticky--effects {
  background: rgba(251, 248, 243, 0.92) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px -24px rgba(12, 39, 68, 0.45);
}

.kv-card {
  box-shadow:
    0 0 0 1px rgba(16, 24, 32, 0.08),
    0 1px 2px -1px rgba(16, 24, 32, 0.08),
    0 12px 32px -16px rgba(12, 39, 68, 0.22);
  border-radius: 18px;
  overflow: hidden;
}

body.kv-payments img {
  max-width: 100%;
  height: auto;
}

.kv-lead {
  background: #f4efe6;
  border-radius: 18px;
  padding: 32px;
  box-shadow:
    0 0 0 1px rgba(16, 24, 32, 0.08),
    0 12px 32px -16px rgba(12, 39, 68, 0.22);
}
.kv-lead h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  color: #0c2744;
  margin: 0 0 20px;
}
.kv-lead-req { font-size: 12px; color: #5c6b7a; margin: -8px 0 16px; }
.kv-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}
.kv-lead-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .kv-lead-grid { grid-template-columns: 1fr; }
  .kv-lead { padding: 24px; }
}
.kv-lead label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0c2744;
  margin-bottom: 6px;
}
.kv-lead input,
.kv-lead select,
.kv-lead textarea {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: #fbf8f3;
  padding: 0 16px;
  font: 15px Outfit, system-ui, sans-serif;
  color: #101820;
}
.kv-lead textarea { height: auto; padding: 12px 16px; }
.kv-lead input:focus,
.kv-lead select:focus,
.kv-lead textarea:focus {
  outline: none;
  border-color: #124477;
  box-shadow: 0 0 0 2px rgba(18, 68, 119, 0.25);
}
.kv-lead .kv-span-2 { grid-column: 1 / -1; }
.kv-lead button[type="submit"] {
  margin-top: 16px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #e56607;
  color: #f4efe6;
  font: 600 14px Outfit, system-ui, sans-serif;
  cursor: pointer;
}
.kv-lead-success {
  background: #0c2744;
  color: #f4efe6;
  border-radius: 18px;
  padding: 32px;
}

.kv-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #e56607;
  color: #f4efe6;
  box-shadow: 0 12px 40px -16px rgba(12, 39, 68, 0.45);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.kv-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.kv-payments .site-header,
.kv-payments .site-footer,
.kv-payments #site-header,
.kv-payments #site-footer,
.kv-payments .entry-header,
.kv-payments.elementor-page h1.entry-title {
  display: none !important;
}

@media (max-width: 1200px) {
  .kv-menu-list { gap: 4px 10px; }
  .kv-menu-item > a { font-size: 12px; }
}
@media (max-width: 480px) {
  .kv-logo, .kv-logo svg, .kv-logo img {
    width: 148px !important;
    height: 19px !important;
    max-width: 148px !important;
    flex-basis: 148px;
  }
  .kv-hero-thumb { width: 42%; }
  .kv-stats { flex-wrap: wrap; gap: 12px !important; }
}
@media (max-width: 375px) {
  .kv-cta-row > .elementor-element { width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .kv-kenburns img,
  .kv-floaty,
  .kv-marquee .elementor-widget-heading .elementor-heading-title {
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
