/* Smart規約アシスト264 LP — Spring Bright v3.0 */

/* ===== RESET & VARS ===== */
.kiyaku-lp-body {
  --kl-spring-sky: #e0f2fe;
  --kl-sky: #38bdf8;
  --kl-blue: #2563eb;
  --kl-blue-dark: #1d4ed8;
  --kl-sakura: #fda4af;
  --kl-sakura-dark: #f43f5e;
  --kl-coral: #ff6b35;
  --kl-green: #10b981;
  --kl-gold: #f59e0b;
  --kl-bg: #fafcff;
  --kl-bg-alt: #f0f9ff;
  --kl-bg-pink: #fff1f5;
  --kl-text: #1e293b;
  --kl-text-mid: #475569;
  --kl-text-light: #94a3b8;
  --kl-border: #e2e8f0;
  --kl-radius: 16px;
  --kl-shadow: 0 4px 24px rgba(37,99,235,0.08);
  --kl-shadow-lg: 0 8px 40px rgba(37,99,235,0.13);
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--kl-text);
  background: var(--kl-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.kiyaku-lp-body *, .kiyaku-lp-body *::before, .kiyaku-lp-body *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.kiyaku-lp-body a { text-decoration: none; }

.kl-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.kl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.kl-btn--primary {
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.kl-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.45);
  color: #fff;
}
.kl-btn--outline {
  background: rgba(255,255,255,0.9);
  color: var(--kl-blue);
  border-color: var(--kl-blue);
}
.kl-btn--outline:hover {
  background: var(--kl-blue);
  color: #fff;
  transform: translateY(-2px);
}
.kl-btn--full { width: 100%; margin-top: 20px; }

/* ===== SECTION LABELS ===== */
.kl-section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--kl-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kl-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--kl-text);
  margin-bottom: 48px;
}

/* ===== HERO ===== */
.kl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #eff6ff 0%, #fdf2f8 40%, #ecfdf5 100%);
  overflow: hidden;
  padding-top: 80px;
}

.kl-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 桜の花びら アニメーション */
.kl-sakura-wrap {
  position: absolute;
  inset: 0;
}
.kl-petal {
  position: absolute;
  display: block;
  width: 12px;
  height: 10px;
  background: radial-gradient(ellipse at 40% 40%, #fecdd3 0%, #fb7185 100%);
  border-radius: 50% 0 50% 50%;
  animation: klSakuraFall linear infinite;
  opacity: 0;
}
.kl-petal--1 { left: 8%;  animation-duration: 8s;  animation-delay: 0s;   top: -20px; }
.kl-petal--2 { left: 20%; animation-duration: 11s; animation-delay: 2s;   top: -20px; }
.kl-petal--3 { left: 35%; animation-duration: 9s;  animation-delay: 1s;   top: -20px; }
.kl-petal--4 { left: 52%; animation-duration: 13s; animation-delay: 3.5s; top: -20px; }
.kl-petal--5 { left: 65%; animation-duration: 10s; animation-delay: 0.5s; top: -20px; }
.kl-petal--6 { left: 78%; animation-duration: 12s; animation-delay: 4s;   top: -20px; }
.kl-petal--7 { left: 88%; animation-duration: 8.5s;animation-delay: 2.5s; top: -20px; }
.kl-petal--8 { left: 45%; animation-duration: 14s; animation-delay: 6s;   top: -20px; }

@keyframes klSakuraFall {
  0%   { transform: translateY(0) rotate(0deg)   translateX(0);   opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(720deg) translateX(60px); opacity: 0; }
}

.kl-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.kl-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fff0f6 0%, #eff6ff 100%);
  color: var(--kl-blue-dark);
  border: 1.5px solid #bfdbfe;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.kl-hero__h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--kl-text);
  margin-bottom: 20px;
}
.kl-hero__h1 em {
  font-style: normal;
  color: var(--kl-blue);
}
.kl-accent-num {
  font-size: 1.4em;
  color: var(--kl-sakura-dark);
  font-weight: 800;
}

.kl-hero__sub {
  font-size: 1rem;
  color: var(--kl-text-mid);
  margin-bottom: 32px;
  line-height: 1.8;
}
.kl-hero__sub small {
  font-size: .78rem;
  color: var(--kl-text-light);
}

.kl-hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.kl-hero__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.kl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.8);
  border: 1.5px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 100px;
  backdrop-filter: blur(8px);
}
.kl-stat__num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--kl-blue);
  line-height: 1.2;
}
.kl-stat__label {
  font-size: .72rem;
  color: var(--kl-text-mid);
  margin-top: 2px;
}

/* ===== Building SVG ===== */
.kl-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kl-building {
  position: relative;
  width: 100%;
  max-width: 340px;
}
.kl-building__svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(37,99,235,0.12));
}

/* 窓の点滅 */
.kl-win-glow {
  animation: klWinGlow 3s ease-in-out infinite;
}
.kl-win-glow2 {
  animation: klWinGlow 3s ease-in-out 1.5s infinite;
}
@keyframes klWinGlow {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.9; }
}

/* 書類の浮遊 */
.kl-doc-float {
  animation: klDocFloat 4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes klDocFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}

/* ===== INTRO ===== */
.kl-intro {
  background: #fff;
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--kl-border);
}
.kl-intro__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.kl-intro__lead {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--kl-text-mid);
  max-width: 800px;
}
.kl-intro__lead strong { color: var(--kl-text); }

/* ===== PROBLEMS ===== */
.kl-problems {
  padding: 96px 0;
  background: var(--kl-bg-pink);
}
.kl-problems .kl-section-title { color: var(--kl-sakura-dark); }

.kl-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.kl-card {
  background: #fff;
  border-radius: var(--kl-radius);
  padding: 28px;
  box-shadow: var(--kl-shadow);
  border: 1.5px solid #ffe4e6;
  transition: transform .2s, box-shadow .2s;
}
.kl-card:hover { transform: translateY(-4px); box-shadow: var(--kl-shadow-lg); }
.kl-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #fff1f5;
  border-radius: 14px;
}
.kl-card__icon svg { width: 36px; height: 36px; }
.kl-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--kl-text); }
.kl-card__body  { font-size: .9rem; color: var(--kl-text-mid); line-height: 1.7; }

.kl-alert {
  display: flex;
  gap: 16px;
  background: #fffbeb;
  border: 2px solid #fcd34d;
  border-radius: var(--kl-radius);
  padding: 24px 28px;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--kl-text-mid);
}
.kl-alert__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 2px;
}
.kl-alert strong { color: #92400e; display: block; margin-bottom: 6px; }

/* ===== SOLUTION ===== */
.kl-solution {
  padding: 96px 0;
  background: #fff;
}
.kl-solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.kl-sol-item {
  background: linear-gradient(160deg, #f0f9ff 0%, #fdf2f8 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--kl-radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.kl-sol-item:hover { transform: translateY(-4px); box-shadow: var(--kl-shadow-lg); }
.kl-sol-item__num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--kl-sky);
  margin-bottom: 8px;
}
.kl-sol-item__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(37,99,235,0.06);
  border-radius: 16px;
}
.kl-sol-item__icon svg { width: 36px; height: 36px; }
.kl-sol-item__title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; color: var(--kl-text); }
.kl-sol-item__body  { font-size: .87rem; color: var(--kl-text-mid); line-height: 1.7; margin-bottom: 16px; }
.kl-sol-item__tag {
  display: inline-block;
  background: rgba(37,99,235,0.08);
  color: var(--kl-blue);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 600;
}

.kl-solution__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #fdf2f8 100%);
  border-radius: var(--kl-radius);
  padding: 28px 32px;
}
.kl-solution__point {
  font-size: .95rem;
  font-weight: 600;
  color: var(--kl-green);
  background: rgba(255,255,255,0.9);
  border-radius: 50px;
  padding: 8px 20px;
  border: 1.5px solid #a7f3d0;
}

/* ===== FLOW ===== */
.kl-flow {
  padding: 96px 0;
  background: var(--kl-bg-alt);
}
.kl-flow__steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.kl-step {
  flex: 1;
  background: #fff;
  border-radius: var(--kl-radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--kl-shadow);
  border: 1.5px solid #bfdbfe;
  transition: transform .2s;
}
.kl-step:hover { transform: translateY(-4px); }
.kl-step__num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.kl-step__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: #eff6ff;
  border-radius: 14px;
}
.kl-step__icon svg { width: 32px; height: 32px; }
.kl-step__title { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--kl-text); }
.kl-step__body  { font-size: .82rem; color: var(--kl-text-mid); line-height: 1.65; margin-bottom: 12px; }
.kl-step__time  { font-size: .75rem; font-weight: 600; color: var(--kl-sky); background: #eff6ff; border-radius: 50px; padding: 4px 12px; display: inline-block; }
.kl-step__arrow {
  font-size: 1.5rem; color: var(--kl-sky); margin-top: 60px; flex-shrink: 0; padding: 0 4px;
}

/* ===== PRICING ===== */
.kl-pricing {
  padding: 96px 0;
  background: linear-gradient(160deg, #fdf2f8 0%, #eff6ff 100%);
}
.kl-pricing__note {
  text-align: center;
  color: var(--kl-text-mid);
  margin-top: 0;
  margin-bottom: 48px;
  font-size: .95rem;
}
.kl-pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kl-price-card {
  background: #fff;
  border-radius: var(--kl-radius);
  padding: 36px 28px;
  box-shadow: var(--kl-shadow);
  border: 2px solid var(--kl-border);
  position: relative;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.kl-price-card:hover { transform: translateY(-6px); box-shadow: var(--kl-shadow-lg); }
.kl-price-card--popular {
  border-color: var(--kl-blue);
  box-shadow: 0 8px 40px rgba(37,99,235,0.18);
  transform: scale(1.03);
}
.kl-price-card--popular:hover { transform: scale(1.03) translateY(-6px); }
.kl-price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.kl-price-card__label { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--kl-text); }
.kl-price-card__size  { font-size: .85rem; color: var(--kl-text-light); margin-bottom: 16px; }
.kl-price-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--kl-blue);
  margin-bottom: 20px;
}
.kl-price-card__price span { font-size: 1rem; font-weight: 400; color: var(--kl-text-mid); }
.kl-price-card__list {
  list-style: none;
  text-align: left;
  font-size: .9rem;
  color: var(--kl-text-mid);
  display: flex; flex-direction: column; gap: 8px;
}

/* ===== CHECK & STARS ===== */
.kl-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--kl-green);
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  margin-right: 6px;
  flex-shrink: 0;
  line-height: 1;
}
.kl-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: .12em;
}

/* ===== VOICE ===== */
.kl-voice {
  padding: 96px 0;
  background: #fff;
}
.kl-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kl-voice-card {
  background: linear-gradient(160deg, #f0f9ff 0%, #fdf2f8 100%);
  border-radius: var(--kl-radius);
  padding: 28px;
  border: 1.5px solid #bfdbfe;
  box-shadow: var(--kl-shadow);
}
.kl-voice-card__stars { font-size: .9rem; margin-bottom: 12px; }
.kl-voice-card__body  { font-size: .88rem; color: var(--kl-text-mid); line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.kl-voice-card__meta  { font-size: .78rem; color: var(--kl-text-light); font-weight: 600; }

/* ===== FAQ ===== */
.kl-faq { padding: 96px 0; background: var(--kl-bg); }
.kl-faqs { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.kl-faq-item {
  background: #fff;
  border: 1.5px solid var(--kl-border);
  border-radius: var(--kl-radius);
  overflow: hidden;
  box-shadow: var(--kl-shadow);
}
.kl-faq-item[open] { border-color: #bfdbfe; }
.kl-faq-item__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: .97rem;
  color: var(--kl-text);
  list-style: none;
  user-select: none;
}
.kl-faq-item__q::-webkit-details-marker { display: none; }
.kl-faq-item[open] .kl-faq-item__q { color: var(--kl-blue); border-bottom: 1px solid #bfdbfe; }
.kl-faq-q-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--kl-blue);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800;
}
.kl-faq-item__a {
  padding: 20px 24px;
  font-size: .92rem;
  color: var(--kl-text-mid);
  line-height: 1.75;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.kl-faq-a-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #10b981;
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800;
}

/* ===== CONTACT ===== */
.kl-contact {
  padding: 96px 0;
  background: linear-gradient(160deg, #eff6ff 0%, #fdf2f8 100%);
}
.kl-contact .kl-section-title { color: var(--kl-blue-dark); }
.kl-contact__sub {
  text-align: center;
  margin-top: 0;
  margin-bottom: 48px;
  color: var(--kl-text-mid);
  font-size: .97rem;
  line-height: 1.8;
}
.kl-contact__wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--kl-radius);
  padding: 48px 40px;
  box-shadow: var(--kl-shadow-lg);
  border: 1.5px solid #bfdbfe;
}

/* CF7 スタイル */
.kl-contact__wrap .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.kl-contact__wrap .wpcf7-form p { margin: 0; }
.kl-contact__wrap input[type="text"],
.kl-contact__wrap input[type="email"],
.kl-contact__wrap input[type="tel"],
.kl-contact__wrap textarea,
.kl-contact__wrap select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--kl-border);
  border-radius: 10px;
  font-size: .97rem;
  font-family: inherit;
  color: var(--kl-text);
  background: #fafcff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.kl-contact__wrap input:focus,
.kl-contact__wrap textarea:focus {
  border-color: var(--kl-blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.kl-contact__wrap textarea { min-height: 120px; resize: vertical; }
.kl-contact__wrap input[type="submit"],
.kl-contact__wrap .wpcf7-submit {
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  font-family: inherit;
}
.kl-contact__wrap input[type="submit"]:hover,
.kl-contact__wrap .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.45);
}

/* ===== FOOTER CTA ===== */
.kl-footer-cta {
  background: linear-gradient(135deg, var(--kl-blue-dark) 0%, var(--kl-blue) 50%, #7c3aed 100%);
  padding: 40px 0;
  text-align: center;
}
.kl-footer-cta .kl-container { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.kl-footer-cta__text { color: rgba(255,255,255,0.92); font-size: 1.05rem; font-weight: 500; }
.kl-footer-cta .kl-btn--primary {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  backdrop-filter: blur(8px);
}
.kl-footer-cta .kl-btn--primary:hover {
  background: rgba(255,255,255,0.25);
}

/* ===== SECTION CENTER ===== */
.kl-problems .kl-section-label,
.kl-problems .kl-section-title,
.kl-solution .kl-section-label,
.kl-solution .kl-section-title,
.kl-flow .kl-section-label,
.kl-flow .kl-section-title,
.kl-pricing .kl-section-label,
.kl-pricing .kl-section-title,
.kl-voice .kl-section-label,
.kl-voice .kl-section-title,
.kl-faq .kl-section-label,
.kl-faq .kl-section-title,
.kl-contact .kl-section-label,
.kl-contact .kl-section-title {
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .kl-hero__inner { grid-template-columns: 1fr; }
  .kl-hero__visual { display: none; }
  .kl-solution__grid { grid-template-columns: 1fr; }
  .kl-pricing__cards { grid-template-columns: 1fr; }
  .kl-voices { grid-template-columns: 1fr; }
  .kl-flow__steps { flex-direction: column; }
  .kl-step__arrow { transform: rotate(90deg); margin: 0 auto; }
}
@media (max-width: 640px) {
  .kl-cards { grid-template-columns: 1fr; }
  .kl-hero__btns { flex-direction: column; }
  .kl-hero__h1 { font-size: 1.9rem; }
  .kl-hero { padding-top: 60px; }
  .kl-contact__wrap { padding: 28px 20px; }
  .kl-hero__stats { gap: 12px; }
  .kl-stat { min-width: 80px; padding: 10px 14px; }
}

/* ===== CO9TACT FORM V4 (Google Form) ===== */

 kl-contact__wrap {
  max-width: 800px;
}

/* Form sections */
.kl-form-sec {
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.kl-form-sec:focus-within {
  border-color: #93c5fd;
  background: #f0f6ff;
}

.kl-form-sec__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--kl-blue);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #bfdbfe;
}

/* 2-column grid */
.kl-form-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.kl-form-2col .kl-form-row { margin-bottom: 0; }

/* Form rows */
.kl-form-row {
  margin-bottom: 14px;
}
,km�form-row:last-child { margin-bottom: 0; }

/* Labels */
.kl-form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--kl-text);
  margin-bottom: 8px;
}

/* Required / Optional badges */
.kl-req {
  font-size: .68rem;
  font-weight: 700;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 4px;
  padding: 1px 7px;
  letter-spacing: .04em;
  line-height: 1.6;
}
.kl-opt {
  font-size: .68rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 4px;
  padding: 1px 7px;
  letter-spacing: .04em;
  line-height: 1.6;
}

/* Base input */
.kl-form-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--kl-border);
  border-radius: 12px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--kl-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  line-height: 1.5;
}
.kl-form-input:focus {
  border-color: var(--kl-blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.09);
}
.kl-form-input--half {
  max-width: 320px;
}
.kl-form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.75;
}
.kl-form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
  cursor: pointer;
  max-width: 320px;
}

/* Radio pill buttons */
.kl-radio-grp {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kl-radio {
  display: inline-flex;
  cursor: pointer;
}
.kl-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
&.l-radio span {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 2px solid var(--kl-border);
  border-radius: 50px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--kl-text-mid);
  background: #fff;
  transition: all .15s ease;
  user-select: none;
  line-height: 1.4;
}
.kl-radio span {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 2px solid var(--kl-border);
  border-radius: 50px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--kl-text-mid);
  background: #fff;
  transition: all .15s ease;
  user-select: none;
  line-height: 1.4;
}
.kl-radio input[type="radio"]:checked + span {
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(37,99,235,0.28);
  font-weight: 700;
}
.kl-radio:hover span {
  border-color: var(--kl-sky);
  color: var(--kl-blue);
}

/* Plan selection cards */
.kl-plan-grp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kl-plan-card {
  display: block;
  cursor: pointer;
  position: relative;
}
&kl-plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
&kl-plan-card__inner {
  border: 2px solid var(--kl-border);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  background: #fff;
  transition: all .2s ease;
  position: relative;
  height: 100%;
}
&kl-plan-card input[type="radio"]:checked + &kl-plan-card__inner {
  border-color: var(--kl-blue);
  background: linear-gradient(160deg, #eff6ff 0%, #fdf2f8 100%);
  box-shadow: 0 6px 24px rgba(37,99,235,0.16);
}
&kl-plan-card:hover &kl-plan-card__inner {
  border-color: var(--kl-sky);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}
&kl-plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
&kl-plan-card__inner {
  border: 2px solid var(--kl-border);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  background: #fff;
  transition: all .2s ease;
  position: relative;
  height: 100%;
}


.kl-plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.kl-plan-card__inner {
  border: 2px solid var(--kl-border);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  background: #fff;
  transition: all .2s ease;
  position: relative;
  height: 100%;
}
.kl-plan-card input[type="radio"]:checked + .kl-plan-card__inner {
  border-color: var(--kl-blue);
  background: linear-gradient(160deg, #eff6ff 0%, #fdf2f8 100%);
  box-shadow: 0 6px 24px rgba(37,99,235,0.16);
}
.kl-plan-card:hover .kl-plan-card__inner {
  border-color: var(--kl-sky);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}
.kl-plan-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .05em;
}
&kl-plan-card__name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--kl-sky);
  text-transform: uppercase;
  margin-bottom: 6px;
}
&kl-plan-card__desc {
  font-size: .84rem;
  font-weight: 600;
  color: var(--kl-text);
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 2.8em;
}
.kl-plan-card__name {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--kl-sky);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.kl-plan-card__desc {
  font-size: .84rem;
  font-weight: 600;
  color: var(--kl-text);
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 2.8em;
}
.kl-plan-card__price {
  font-size: .97rem;
  font-weight: 800;
  color: var(--kl-blue);
  letter-spacing: -.01em;
}

/* Agreement note */
.kl-agree-note {
  background: #fff;
  border: 1px solid var(--kl-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .82rem;
  color: var(--kl-text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
&kl-agree-note a {
  color: var(--kl-blue);
  text-decoration: underline;
}
.kl-agree-note a {
  color: var(--kl-blue);
  text-decoration: underline;
}
.kl-agree-note a:hover {
  opacity: .75;
}

/* Submit button */
.kl-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 17px 32px;
  background: linear-gradient(135deg, var(--kl-blue) 0%, var(--kl-sky) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 18px rgba(37,99,235,0.35);
  font-family: inherit;
  margin-top: 8px;
  letter-spacing: .02em;
}
.kl-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.45);
}
&kl-form-submit:active {
  transform: translateY(0);
}
.kl-form-submit:active {
  transform: translateY(0);
}

/* Success state */
.kl-form-ok {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px 40px;
  gap: 14px;
  animation: klFadeIn .4s ease;
}
@keyframes klFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
&kl-form-ok__icon { margin-bottom: 4px; }
&kl-form-ok__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--kl-text);
  line-height: 1.4;
}
.kl-form-ok__icon { margin-bottom: 4px; }
.kl-form-ok__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--kl-text);
  line-height: 1.4;
}
.kl-form-ok__body {
  font-size: .92rem;
  color: var(--kl-text-mid);
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 640px) {
  .kl-form-2col  { grid-template-columns: 1fr; }
  .kl-plan-grp   { grid-template-columns: 1fr; }
  .kl-form-sec   { padding: 20px 16px; }
  .kl-form-select,
  .kl-form-input--half { max-width: 100%; }
}
