/* ============================================================
   EDISON TECH — trabaja-con-nosotros.html Specific Styles
   ============================================================ */

/* ── Form Section ── */
.form-section {
  padding: 5rem 0 4rem;
  background: var(--bg-section);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* ── Benefits Side ── */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 1.5rem 0 2rem;
}

.benefits-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(25,56,92,0.2);
}

.benefits-list li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefits-list li p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(25,56,92,0.08);
  box-shadow: var(--shadow);
}

.contact-info h4 {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-email i { color: var(--gold); }
.contact-email:hover { color: var(--gold); }

/* ── Form Card ── */
.form-wrap {
  position: sticky;
  top: 90px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(25,56,92,0.07);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--yellow));
}

.form-header {
  margin-bottom: 2rem;
}
.form-header h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.form-header p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ── Form Elements ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap > i:first-child {
  position: absolute;
  left: 0.9rem;
  color: var(--silver);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
  transition: color var(--transition);
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 0.72rem 1rem 0.72rem 2.5rem;
  border: 1.5px solid rgba(25,56,92,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-section);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.input-wrap textarea {
  padding-top: 0.72rem;
  resize: vertical;
  min-height: 100px;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: rgba(160,160,160,0.8);
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--blue-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(116,167,199,0.15);
}

.input-wrap:focus-within > i:first-child {
  color: var(--navy);
}

/* Select arrow */
.select-wrap { position: relative; }
.select-arrow {
  position: absolute !important;
  right: 1rem !important;
  left: auto !important;
  color: var(--silver) !important;
  font-size: 0.75rem !important;
  pointer-events: none;
}
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }

/* ── Submit Button ── */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-submit:hover::after { transform: translateX(100%); }

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--silver);
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.form-disclaimer i { color: var(--blue-light); }

/* ── Success Message ── */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.visible { display: block; }

.success-icon {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 1rem;
  animation: pop-in 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

/* ── Next Steps Section ── */
.next-steps {
  padding: 5rem 0;
  background: var(--white);
}

.next-steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.ns-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(25,56,92,0.07);
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  transition: var(--transition);
  position: relative;
}

.ns-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.ns-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
}

.ns-card > i.fa-solid,
.ns-card > i.fa-regular {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
  display: block;
}

.ns-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.ns-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.ns-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-wrap { position: static; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.8rem 1.4rem; }
  .next-steps-grid {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .ns-arrow { transform: rotate(90deg); }
  .ns-card { max-width: 280px; width: 100%; }
}
