.chmf-wrap.ch-hero-finder {
  width: 100%;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 28px;
  align-items: start;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow: visible;
}

.chmf-hero-copy {
  grid-column: 1 / -1;
  max-width: 980px;
  margin-bottom: 6px;
}

.chmf-hero-title {
  margin: 0 0 10px;
  font-size: clamp(34px, 3vw, 42px);
  line-height: 0.98;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 6px 18px rgba(93, 21, 91, 0.28);
}

.chmf-hero-description {
  margin: 0;
  max-width: 980px;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.15;
  font-weight: 700;
  color: rgba(255, 245, 250, 0.96);
  text-shadow: 0 4px 14px rgba(93, 21, 91, 0.18);
}

.ch-finder-left,
.ch-finder-right {
  min-width: 0;
}

@media (min-width: 1025px) {
  .ch-finder-left {
    position: sticky;
    top: 32px;
    align-self: start;
  }
}

.chmf-card {
  background: rgba(255, 246, 250, 0.88);
  border: 3px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(82, 19, 102, 0.18);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.chmf-card--form { padding: 0; }

.chmf-card--form .chmf-header {
  background: linear-gradient(135deg, #a124b0 0%, #e53887 100%);
  padding: 26px 26px 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.chmf-card--form .chmf-header h3 {
  margin: 0 0 6px;
  font-size: clamp(28px, 2.8vw, 48px);
  line-height: 1.02;
  font-weight: 700;
  color: #ffd34a;
  text-shadow: 0 3px 10px rgba(84, 0, 80, 0.18);
}

.chmf-card--form .chmf-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255, 245, 250, 0.95);
}

.chmf-form { padding: 24px 24px 8px; }

.chmf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.chmf-field label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: #5f165d;
  font-size: 16px;
}

.chmf-field input,
.chmf-field textarea,
.chmf-field select {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 2px solid rgba(199, 114, 170, 0.22);
  padding: 0 16px;
  background: #fff;
  color: #5a2a68;
  box-sizing: border-box;
  font-size: 17px;
  font-family: 'Poppins', sans-serif;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.chmf-field textarea {
  padding-top: 14px;
  line-height: 1.45;
  resize: vertical;
}

.chmf-field input:focus,
.chmf-field textarea:focus,
.chmf-field select:focus {
  outline: none;
  border-color: #e14d8e;
  box-shadow: 0 0 0 4px rgba(225, 77, 142, 0.14);
}

.chmf-actions { margin-top: 18px; }

.chmf-submit,
.chmf-btn,
.ch-regenerate {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Poppins', sans-serif;
}

.chmf-submit {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #ff4f90 0%, #ff8b1f 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 106, 88, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.chmf-submit:hover {
  transform: translateY(-1px);
}

.chmf-submit:active {
  transform: translateY(2px);
  box-shadow: 0 8px 16px rgba(255, 106, 88, 0.2);
}

.chmf-submit:disabled,
.chmf-submit.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.chmf-feedback {
  min-height: 24px;
  margin: 8px 24px 22px;
  font-size: 14px;
  font-weight: 700;
}

.chmf-feedback.is-error { color: #b00020; }
.chmf-feedback.is-success { color: #2e7d32; }

.chmf-card--result {
  padding: 24px;
  min-height: 100%;
  background: rgba(255, 245, 248, 0.9);
}

.ch-result-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.ch-result-top h3 {
  margin: 0 0 6px;
  font-size: clamp(30px, 2.5vw, 52px);
  line-height: 1;
  font-weight: 700;
  color: #8b1d78;
}

.ch-result-top p {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: #8c4f73;
  font-weight: 600;
}

.ch-regenerate {
  min-height: 54px;
  min-width: 180px;
  background: linear-gradient(135deg, #ffd351 0%, #ffb020 100%);
  color: #7c275f;
  box-shadow: 0 10px 22px rgba(255, 182, 39, 0.24);
  font-size: 18px;
  white-space: nowrap;
}

.chmf-result-placeholder {
  min-height: 320px;
  border-radius: 22px;
  border: 2px dashed rgba(227, 111, 168, 0.25);
  background: rgba(255, 252, 253, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.chmf-result-placeholder p {
  margin: 0;
  max-width: 580px;
  font-size: 20px;
  line-height: 1.45;
  color: #91527d;
  font-weight: 700;
}

.chmf-result {
  margin-top: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.chmf-result__header { margin-bottom: 14px; }

.chmf-result__eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #b1417d;
  margin-bottom: 8px;
}

.chmf-result__header h4 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 48px);
  line-height: 1.05;
  color: #8f166f;
  font-weight: 700;
}

.chmf-result__content {
  background: rgba(255, 252, 253, 0.95);
  border: 2px solid rgba(245, 198, 221, 0.55);
  border-radius: 22px;
  padding: 26px;
  font-size: 22px;
  line-height: 1.7;
  color: #6b285f;
  min-height: 240px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.chmf-result__content > *:first-child { margin-top: 0; }
.chmf-result__content > *:last-child { margin-bottom: 0; }

.chmf-result__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(183, 103, 152, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.chmf-result__meta span {
  font-size: 15px;
  font-weight: 800;
  color: #9a4b7e;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(214, 162, 190, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
}

.chmf-result-placeholder[hidden],
.chmf-result[hidden] { display: none !important; }

@media (max-width: 1024px) {
  .chmf-wrap.ch-hero-finder {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .chmf-hero-copy { margin-bottom: 0; }
  .chmf-hero-title { font-size: clamp(34px, 6vw, 58px); }
  .chmf-hero-description { font-size: clamp(17px, 2.8vw, 24px); line-height: 1.2; }
  .ch-finder-left { position: static; }
  .ch-result-top { flex-direction: column; align-items: stretch; }
  .ch-regenerate { width: 100%; }
  .chmf-result__content { font-size: 20px; min-height: 200px; }
}

@media (max-width: 767px) {
  .chmf-wrap.ch-hero-finder { gap: 18px; }
  .chmf-hero-title { font-size: 42px; line-height: 1; }
  .chmf-hero-description { font-size: 19px; line-height: 1.25; }
  .chmf-card { border-radius: 22px; }
  .chmf-card--form .chmf-header,
  .chmf-form,
  .chmf-card--result { padding-left: 18px; padding-right: 18px; }
  .chmf-card--form .chmf-header { padding-top: 20px; padding-bottom: 16px; }
  .chmf-card--form .chmf-header h3 { font-size: 34px; }
  .chmf-card--form .chmf-header p { font-size: 16px; }
  .chmf-form { padding-top: 18px; padding-bottom: 4px; }
  .chmf-field label { font-size: 15px; }
  .chmf-field input,
  .chmf-field textarea,
  .chmf-field select { min-height: 52px; font-size: 16px; }
  .chmf-submit { min-height: 54px; font-size: 18px; }
  .ch-result-top h3 { font-size: 34px; }
  .ch-result-top p { font-size: 17px; }
  .chmf-result__header h4 { font-size: 34px; }
  .chmf-result__content { padding: 18px; font-size: 18px; line-height: 1.65; min-height: auto; }
  .ch-regenerate { width: 100%; }
  .chmf-result-placeholder { min-height: 160px; padding: 20px; }
  .chmf-result-placeholder p { font-size: 17px; }
  .chmf-feedback { margin-left: 18px; margin-right: 18px; margin-bottom: 18px; }
  .chmf-result__meta { gap: 10px; }
  .chmf-result__meta span { width: 100%; text-align: center; }
}

@media (min-width: 1025px) {
  .ch-finder-left .chmf-card--form {
    position: sticky;
    top: 32px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    will-change: transform;
  }
}


button.chmf-submit,
.cumplehits-form-wrapper button.chmf-submit,
#cumplehits-form button.chmf-submit {
  width: 100% !important;
  min-height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(90deg, #ff4f90 0%, #ff8b1f 100%) !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  font-family: 'Poppins', sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 14px 28px rgba(255, 106, 88, 0.24) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease !important;
}

button.chmf-submit:hover,
.cumplehits-form-wrapper button.chmf-submit:hover,
#cumplehits-form button.chmf-submit:hover {
  transform: translateY(-1px) !important;
}


button.ch-regenerate,
a.ch-regenerate,
#cumplehits-form .ch-regenerate,
.cumplehits-form-wrapper .ch-regenerate,
.chmf-card .ch-regenerate {
  min-height: 54px !important;
  min-width: 180px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffd351 0%, #ffb020 100%) !important;
  color: #7c275f !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  font-family: 'Poppins', sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 10px 22px rgba(255, 182, 39, 0.24) !important;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease !important;
}

button.ch-regenerate:hover,
a.ch-regenerate:hover,
#cumplehits-form .ch-regenerate:hover,
.cumplehits-form-wrapper .ch-regenerate:hover,
.chmf-card .ch-regenerate:hover {
  transform: translateY(-1px) !important;
}

button.ch-regenerate:active,
a.ch-regenerate:active {
  transform: translateY(2px) !important;
  box-shadow: 0 6px 14px rgba(255, 182, 39, 0.2) !important;
}

button.ch-regenerate:disabled,
button.ch-regenerate.is-loading,
a.ch-regenerate.disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
}



.ch-video-preview-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

#ch-template-video {
  width: 100%;
  display: block;
  background: #000;
}

.ch-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0,0,0,.75);
}

.ch-intro-small {
  font-size: 22px;
  font-weight: 800;
}

.ch-intro-name {
  font-size: 46px;
  font-weight: 900;
  color: #ffd84d;
  line-height: 1;
  margin: 12px 0;
}

.ch-intro-message,
.ch-intro-firma {
  font-size: 18px;
  line-height: 1.35;
}


.ch-phone-mockup {
  width: min(320px, 100%);
  margin: 0 auto 24px;
  padding: 12px;
  border-radius: 38px;
  background: linear-gradient(145deg, #202020, #050505);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  position: relative;
}

.ch-phone-speaker {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #333;
  margin: 0 auto 10px;
}

.ch-phone-screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
}

#ch-template-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0,0,0,.8);
}

.ch-phone-mockup {
  width: min(340px, 100%);
}