/* Captación pública — estilo Delfín Check-in */
.landing-capture-section {
  max-width: 720px;
  margin: 48px auto 56px;
  padding: 0 16px;
}

.landing-capture-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 2px solid rgba(68, 192, 255, 0.35);
  background: linear-gradient(145deg, #f0f9ff 0%, #ffffff 42%, #f0fdf4 100%);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12), 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: clamp(24px, 4vw, 36px);
}

.landing-capture-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 192, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.landing-capture-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.landing-capture-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4.5vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
}

.landing-capture-sub {
  margin: 0 0 20px;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.55;
  color: #475569;
}

.landing-capture-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

@media (max-width: 560px) {
  .landing-capture-steps {
    grid-template-columns: 1fr;
  }
}

.landing-capture-steps li {
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  line-height: 1.35;
}

.landing-capture-steps strong {
  display: block;
  font-size: 18px;
  color: #2563eb;
  margin-bottom: 4px;
}

.landing-capture-form {
  display: grid;
  gap: 14px;
}

.landing-capture-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 6px;
}

.landing-capture-input {
  width: 100%;
  box-sizing: border-box;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px solid rgba(148, 163, 184, 0.45);
  font-size: 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-capture-input:focus {
  outline: none;
  border-color: #44c0ff;
  box-shadow: 0 0 0 4px rgba(68, 192, 255, 0.2);
}

.landing-capture-submit {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #44c0ff 0%, #2563eb 55%, #16a34a 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-capture-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.landing-capture-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.landing-capture-msg {
  display: none;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.landing-capture-msg.is-success {
  display: block;
  background: #ecfdf5;
  border: 2px solid #6ee7b7;
  color: #065f46;
}

.landing-capture-msg.is-error {
  display: block;
  background: #fef2f2;
  border: 2px solid #fca5a5;
  color: #991b1b;
}

.landing-capture-msg a {
  color: #047857;
  font-weight: 700;
}

.landing-capture-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

/* Popup */
#delfin-soft-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
  animation: delfinOverlayIn 0.25s ease-out;
}

@keyframes delfinOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#delfin-soft-popup {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.35);
  border: 2px solid rgba(68, 192, 255, 0.35);
  animation: delfinPopupIn 0.3s ease-out;
}

@keyframes delfinPopupIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

#delfin-soft-popup .popup-hero {
  padding: 22px 22px 18px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

#delfin-soft-popup .popup-emoji {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 8px;
}

#delfin-soft-popup .ttl {
  font-weight: 950;
  font-size: clamp(20px, 4vw, 24px);
  line-height: 1.2;
  color: #0f172a;
  margin: 0;
}

#delfin-soft-popup .sub {
  margin: 10px 0 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.5;
}

#delfin-soft-popup .popup-highlight {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
  color: #1d4ed8;
}

#delfin-soft-popup .cta {
  padding: 18px 20px 20px;
  display: grid;
  gap: 12px;
}

#delfin-soft-popup .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

#delfin-soft-popup .btn-primary {
  background: linear-gradient(135deg, #44c0ff 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

#delfin-soft-popup .btn-ghost {
  background: #f1f5f9;
  color: #475569;
}

#delfin-soft-popup .x {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #475569;
  z-index: 2;
}

#delfin-popup-email {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  font-size: 15px;
}

#delfin-popup-msg {
  font-size: 13px;
  line-height: 1.45;
  display: none;
}

#delfin-popup-msg.is-success {
  display: block;
  color: #047857;
}

#delfin-popup-msg.is-error {
  display: block;
  color: #b91c1c;
}
